|
static Config_Prop * | registerProp (const std::string &theSection, const std::string &theName, const std::string &theTitle, Config_Prop::PropType theType, const std::string &theDefValue="", const std::string &theMin="", const std::string &theMax="") |
| Registers property parameters. More...
|
|
static Config_Prop * | findProp (const std::string &theSection, const std::string &theName) |
| Finds property in the given section by the given name, if property not found returns NULL. More...
|
|
static Config_Properties | getProperties () |
| Returns std::list of all existing properies. More...
|
|
static std::list< std::string > | getSections () |
| Returns list of registered section names. More...
|
|
static Config_Properties | getProperties (const std::string &theSection) |
| Returns list of properties by its owner and section. More...
|
|
static std::string | string (const std::string &theSection, const std::string &theName) |
| Returns value of the property by its owner, section, and name. More...
|
|
static std::vector< int > | color (const std::string &theSection, const std::string &theName) |
| Returns color by given section and name as 3-element vector {r,g,b}. More...
|
|
static int | integer (const std::string &theSection, const std::string &theName) |
| Returns integer by given section and name. More...
|
|
static double | real (const std::string &theSection, const std::string &theName) |
| Returns real by given section and name. More...
|
|
static bool | boolean (const std::string &theSection, const std::string &theName) |
| Returns boolean by given section and name. More...
|
|
static double | stringToDouble (const std::string &theDouble) |
| Returns convertion of the string to double value. More...
|
|
static bool | getAutoColorStatus () |
| Returns Auto-color status as a Boolean. More...
|
|
static void | setAutoColorStatus (const bool theValue) |
| Set Auto-color boolean value. More...
|
|
Class which let to register properties.