16 #ifndef UTIL_PARAMETERS_INCLUDED
17 #define UTIL_PARAMETERS_INCLUDED
52 void Add(std::string& section,
55 void Add(
const char* section,
59 const char* defaultValue,
60 const char* section = NULL);
62 const int defaultValue,
63 const char* section = NULL);
65 const bool defaultValue,
66 const char* section = NULL);
68 const long defaultValue,
69 const char* section = NULL);
71 const double defaultValue,
72 const char* section = NULL);
75 const std::string defaultValue,
76 const char* section = NULL) ;
80 std::string*
Find(
const char* section,
UtilParameters(int &argc, char *argv[])
string GetSetting(const char *name, const char *defaultValue, const char *section=NULL)
UtilParam * FindEntry(const char *section, const char *name)
void ScanCmdLineArgs(int &argc, char *argv[])
std::map< std::string, UtilParam > m_paramMap
void LoadParamFile(string ¶mFileName)
void Add(string §ion, string &name, string &value)
map< string, UtilParam > m_paramMap
string * Find(const char *section, const char *name)