ConfigurationReader Class Reference

Class to handle ASCII config files. More...

List of all members.

Public Member Functions

 ConfigurationReader (const string &configuration_path)
string & getParameter (const string &paramName)
const char * getCParameter (const string &paramName)
bool found ()
vector< string > & getParameterNames ()


Detailed Description

Class to handle ASCII config files.

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


Constructor & Destructor Documentation

ConfigurationReader::ConfigurationReader ( const string &  configuration_path  ) 

Constructor

Parameters:
configuration_path Path to configuration file


Member Function Documentation

string & ConfigurationReader::getParameter ( const string &  paramName  ) 

Parameters:
paramName Name of parameter
Returns:
Value of parameter

const char * ConfigurationReader::getCParameter ( const string &  paramName  ) 

Parameters:
paramName Name of parameter
Returns:
Value of parameter

bool ConfigurationReader::found (  ) 

Returns:
True if config file exists

vector< string > & ConfigurationReader::getParameterNames (  ) 

Returns:
List of parameter names


The documentation for this class was generated from the following files:
Generated on Fri Apr 27 13:12:36 2007 for Highlight Code Converter by  doxygen 1.5.2