Public Types | |
| enum | eType { TYPE_INT = 1, TYPE_FLOAT, TYPE_STRING } |
Public Member Functions | |
| ConfigEntry () | |
| ConfigEntry (const ConfigEntry &e2) | |
| float | getFloat () const |
| float | getFloatMax () const |
| float | getFloatMin () const |
| int | getInt () const |
| int | getIntMax () const |
| int | getIntMin () const |
| const char * | getString () const |
| eType | getType () const |
| ConfigEntry & | operator= (const ConfigEntry &e2) |
| bool | operator== (const ConfigEntry &e2) |
| template<class T > | |
| void | set (T t) |
| template<> | |
| void | set (float t) |
| template<> | |
| void | set (int t) |
| template<> | |
| void | set (const char *t) |
| void | setFloat (float f) |
| void | setFloatMax (float m) |
| void | setFloatMin (float m) |
| void | setInt (int i) |
| void | setIntMax (int m) |
| void | setIntMin (int m) |
| void | setString (const char *p) |
| ~ConfigEntry () | |
Private Member Functions | |
| eType | deduceType (int) const |
| eType | deduceType (const char *) const |
| eType | deduceType (float) const |
Private Attributes | |
| union { | |
| char * data | |
| float data_float | |
| int data_int | |
| }; | |
| union { | |
| void * minval | |
| float minval_float | |
| int minval_int | |
| }; | |
| union { | |
| void * maxval | |
| float maxval_float | |
| int maxval_int | |
| }; | |
| eType | type |
| Config::ConfigEntry::ConfigEntry | ( | ) | [inline] |
| Config::ConfigEntry::~ConfigEntry | ( | ) | [inline] |
| Config::ConfigEntry::ConfigEntry | ( | const ConfigEntry & | e2 | ) | [inline] |
| eType Config::ConfigEntry::deduceType | ( | int | ) | const [inline, private] |
| eType Config::ConfigEntry::deduceType | ( | const char * | ) | const [inline, private] |
| eType Config::ConfigEntry::deduceType | ( | float | ) | const [inline, private] |
| float Config::ConfigEntry::getFloat | ( | ) | const [inline] |
| float Config::ConfigEntry::getFloatMax | ( | ) | const [inline] |
| float Config::ConfigEntry::getFloatMin | ( | ) | const [inline] |
| int Config::ConfigEntry::getInt | ( | ) | const [inline] |
| int Config::ConfigEntry::getIntMax | ( | ) | const [inline] |
| int Config::ConfigEntry::getIntMin | ( | ) | const [inline] |
| const char* Config::ConfigEntry::getString | ( | ) | const [inline] |
| eType Config::ConfigEntry::getType | ( | ) | const [inline] |
| ConfigEntry& Config::ConfigEntry::operator= | ( | const ConfigEntry & | e2 | ) | [inline] |
| bool Config::ConfigEntry::operator== | ( | const ConfigEntry & | e2 | ) | [inline] |
| void Config::ConfigEntry::set | ( | T | t | ) |
| void Config::ConfigEntry::set | ( | float | t | ) | [inline] |
| void Config::ConfigEntry::set | ( | int | t | ) | [inline] |
| void Config::ConfigEntry::set | ( | const char * | t | ) | [inline] |
| void Config::ConfigEntry::setFloat | ( | float | f | ) | [inline] |
| void Config::ConfigEntry::setFloatMax | ( | float | m | ) | [inline] |
| void Config::ConfigEntry::setFloatMin | ( | float | m | ) | [inline] |
| void Config::ConfigEntry::setInt | ( | int | i | ) | [inline] |
| void Config::ConfigEntry::setIntMax | ( | int | m | ) | [inline] |
| void Config::ConfigEntry::setIntMin | ( | int | m | ) | [inline] |
| void Config::ConfigEntry::setString | ( | const char * | p | ) | [inline] |
union { ... } [private] |
union { ... } [private] |
union { ... } [private] |
eType Config::ConfigEntry::type [private] |