Public Member Functions | |
ConfigurationReader (const string &configuration_path) | |
string & | getParameter (const string ¶mName) |
const char * | getCParameter (const string ¶mName) |
bool | found () |
vector< string > & | getParameterNames () |
Configuration file format:
$ParamName=ParamValue
ParamValue may be splittet over multiple lines
ParamName is not case sensitive
Comments start with # as the first character of a line
ConfigurationReader::ConfigurationReader | ( | const string & | configuration_path | ) |
Constructor
configuration_path | Path to configuration file |
string & ConfigurationReader::getParameter | ( | const string & | paramName | ) |
paramName | Name of parameter |
const char * ConfigurationReader::getCParameter | ( | const string & | paramName | ) |
paramName | Name of parameter |
bool ConfigurationReader::found | ( | ) |
vector< string > & ConfigurationReader::getParameterNames | ( | ) |