Home || Architecture || Video Search || Visual Search || Scripts || Applications || Important Messages || OGL || Src

bool Impala::Util::PropertySet::GetBool ( const std::string &  name,
bool  defaultValue = false 
) const [inline]

Definition at line 84 of file PropertySet.h.

References GetString(), and Impala::StringToBool().

Referenced by Impala::Core::Training::ClassifierEvaluator::Evaluate(), Impala::Core::ApplicationFactory::MakeClassifierProperties(), and Impala::Core::Training::Svm::Train().

00085     {
00086         std::string val = GetString(name);
00087         if(val == "")
00088             return defaultValue;
00089         return StringToBool(val);
00090     }

Here is the call graph for this function:


Generated on Fri Mar 19 11:41:08 2010 for ImpalaSrc by  doxygen 1.5.1