#include <Config.hh>
Public Member Functions | |
void | AddItem (const string &name, const string &value) |
Config () | |
Config (const char *filename) | |
bool | ExistItem (const string &name) |
double | GetValueDouble (const string &name) |
int | GetValueInt (const string &name) |
string | GetValueString (const string &name) |
void | Load (const char *filename) |
Public Attributes | |
map< string, string > | items |
P::Config::Config | ( | ) | [inline] |
P::Config::Config | ( | const char * | filename | ) |
void P::Config::AddItem | ( | const string & | name, |
const string & | value | ||
) | [inline] |
bool P::Config::ExistItem | ( | const string & | name | ) |
double P::Config::GetValueDouble | ( | const string & | name | ) | [inline] |
int P::Config::GetValueInt | ( | const string & | name | ) | [inline] |
string P::Config::GetValueString | ( | const string & | name | ) | [inline] |
void P::Config::Load | ( | const char * | filename | ) |
map<string, string> P::Config::items |