#include <config.h>
Public Member Functions | |
ConfigFile (const char *filename) | |
double | getDParam (const char *p, double def=0.0) |
int | getIParam (const char *p, int def=0) |
string | getParam (string p) |
string | getParam (const char *p) |
~ConfigFile () | |
Private Attributes | |
ifstream | f |
map< string, string > | params |
ConfigFile::ConfigFile | ( | const char * | filename | ) |
Definition at line 45 of file config.cpp.
Definition at line 124 of file config.cpp.
double ConfigFile::getDParam | ( | const char * | p, |
double | def = 0.0 |
||
) |
Definition at line 151 of file config.cpp.
int ConfigFile::getIParam | ( | const char * | p, |
int | def = 0 |
||
) |
Definition at line 142 of file config.cpp.
string ConfigFile::getParam | ( | string | p | ) |
Definition at line 129 of file config.cpp.
string ConfigFile::getParam | ( | const char * | p | ) |
Definition at line 137 of file config.cpp.
ifstream ConfigFile::f [private] |
map<string,string> ConfigFile::params [private] |