stores library's configuration variables
More...
#include <cupt/config.hpp>
List of all members.
Public Member Functions |
| Config () |
| constructor
|
virtual | ~Config () |
| destructor
|
| Config (const Config &other) |
| copy constructor
|
Config & | operator= (const Config &other) |
| assignment operator
|
vector< string > | getScalarOptionNames () const |
| returns scalar option names
|
vector< string > | getListOptionNames () const |
| returns list option names
|
void | setScalar (const string &optionName, const string &value) |
| sets new value for the scalar option
|
void | setList (const string &optionName, const string &value) |
| appends new element to the value of the list option
|
vector< string > | getList (const string &optionName) const |
| gets contents of the list variable
|
string | getString (const string &optionName) const |
| gets value of the scalar option
|
bool | getBool (const string &optionName) const |
| gets converted to boolean value of the scalar option
|
ssize_t | getInteger (const string &optionName) const |
| gets converted to integer value of the scalar option
|
string | getPath (const string &optionName) const |
| gets resolved value of the path variable
|
Detailed Description
stores library's configuration variables
Constructor & Destructor Documentation
constructor
Reads configuration variables from configuration files.
Member Function Documentation
gets converted to boolean value of the scalar option
- Parameters:
-
gets converted to integer value of the scalar option
- Parameters:
-
gets contents of the list variable
- Parameters:
-
gets resolved value of the path variable
- Parameters:
-
gets value of the scalar option
- Parameters:
-
appends new element to the value of the list option
- Parameters:
-
optionName | |
value | new value element for the option |
sets new value for the scalar option
- Parameters:
-
optionName | |
value | new value for the option |
The documentation for this class was generated from the following file: