|
| ConfigParser (std::string fname) |
|
void | parse (std::string fname) |
|
std::string | getFileName () |
|
std::string | operator[] (std::string param) |
| Get value of required parameter. More...
|
|
std::string | operator() (std::string param, std::string default_val) |
| Get value of parameter; use default if not set. More...
|
|
|
std::map< std::string, std::string > | config |
|
std::string | fileName |
|
std::string cosmo::ConfigParser::operator() |
( |
std::string |
param, |
|
|
std::string |
default_val |
|
) |
| |
Get value of parameter; use default if not set.
- Parameters
-
param | parameter name string |
default_val | default_val to use if param was not set |
std::string cosmo::ConfigParser::operator[] |
( |
std::string |
param | ) |
|
Get value of required parameter.
- Parameters
-
[in] | param | parameter name string |
The documentation for this class was generated from the following files: