Public Types | |
| enum | eType { eType_INVALID, eType_INT, eType_DOUBLE, eType_STRING } |
Public Member Functions | |
| ConfigTuple (void) | |
| ~ConfigTuple () | |
| void | Clear (void) |
| bool | Write (fstream &fs) |
| bool | Read (fstream &fs, const string &type) |
Public Attributes | |
| ConfigTuple::eType | mType |
| type of the value | |
| string | mKey |
| its name | |
| int | mValInt |
| valid only if mType is int | |
| double | mValDouble |
| valid only if mType is double | |
| string | mValString |
| valid only if mType is string | |
| base::ConfigFile::ConfigTuple::ConfigTuple | ( | void | ) |
Tuple constructor/destructor.
| base::ConfigFile::ConfigTuple::~ConfigTuple | ( | ) |
| void base::ConfigFile::ConfigTuple::Clear | ( | void | ) |
| bool base::ConfigFile::ConfigTuple::Write | ( | fstream & | fs | ) |
Write configuration tuple to file stream.
| bool base::ConfigFile::ConfigTuple::Read | ( | fstream & | fs, | |
| const string & | type | |||
| ) |
Read configuration tuple from file stream.
type of the value
its name
valid only if mType is int
valid only if mType is double
valid only if mType is string
Palomino 3D Engine documents generated by doxygen 1.5.3 on Fri Nov 23 11:26:18 2007