3 $Date: 2010/03/04 11:49:52 $
7 #ifndef BASE_SETTINGS_H
8 #define BASE_SETTINGS_H
16 //-----------------------------------------------------------------------------
23 bool operator==(const PARAM_VALUE & rhs) const
24 { return !strcasecmp(param.c_str(), rhs.param.c_str()); };
26 bool operator<(const PARAM_VALUE & rhs) const
27 { return strcasecmp(param.c_str(), rhs.param.c_str()) < 0; };
32 //-----------------------------------------------------------------------------
33 struct MODULE_SETTINGS
39 MODULE_SETTINGS(const MODULE_SETTINGS & rvalue)
40 : moduleName(rvalue.moduleName),
41 moduleParams(rvalue.moduleParams)
43 bool operator==(const MODULE_SETTINGS & rhs) const
44 { return !strcasecmp(moduleName.c_str(), rhs.moduleName.c_str()); };
46 bool operator<(const MODULE_SETTINGS & rhs) const
47 { return strcasecmp(moduleName.c_str(), rhs.moduleName.c_str()) < 0; };
50 vector<PARAM_VALUE> moduleParams;
52 //-----------------------------------------------------------------------------
53 #endif //BASE_SETTINGS_H