Public Types | |
| enum | eType { eType_INVALID, eType_INT, eType_DOUBLE, eType_STRING } |
Public Member Functions | |
| ConfTuple (void) | |
| ~ConfTuple () | |
| void | Clear (void) |
| bool | Write (fstream &fs) |
| bool | Read (fstream &fs, const string &type) |
Public Attributes | |
| ConfTuple::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::ConfBin::ConfTuple::ConfTuple | ( | void | ) |
Tuple constructor/destructor.
| base::ConfBin::ConfTuple::~ConfTuple | ( | ) |
| void base::ConfBin::ConfTuple::Clear | ( | void | ) |
| bool base::ConfBin::ConfTuple::Write | ( | fstream & | fs | ) |
Write configuration tuple to file stream.
| bool base::ConfBin::ConfTuple::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 Flight Simulator documents generated by doxygen 1.5.6 on Tue Sep 28 11:37:49 2010