Configuration file
![]() | ConfigFile::ConfigFile (string name) Config file constructor |
![]() | ConfigFile::GetValue (string name) Returns value asociated vith name Looks the key in STL map container and returns the associated value, that was specified in configuration file like this: key1 value1 key2 value2 |
![]() | ConfigFile::Load () Loads settings from config file |
![]() | ConfigFile::PrintAll () Lists all variables to stdout |
![]() | ConfigFile::Reload () Reloads settings from config file |
![]() | ConfigFile::~ConfigFile () Config file destructor |
![]() | methods
|
![]() | attributes
| ||||||
![]() | methods
|
Configuration file. Encapsulates work with configuration file. When created requires config name - reads it in memory and then is ready to answer questions about keys and values defined. It can also be reloaded.
Err PrintVar(CfgVariable *var)
~ConfigFile()
string GetValue(string name)
string ConfigFile::GetValue(string name)
key1 value1
key2 value2
Err ConfigFile::Load()
void ConfigFile::PrintAll()
Err ConfigFile::Reload()
ConfigFile::~ConfigFile()
alphabetic index hierarchy of classes
generated by doc++