#include <tStatEntry.h>
Public Member Functions | |
tStatEntry (tString name) | |
tStatEntry (tString name, REAL value) | |
tString | getName () |
REAL | getValue () |
void | setValue (REAL value) |
void | addValue (REAL value) |
~tStatEntry () | |
Public Attributes | |
int | id |
bool | toWrite |
Private Attributes | |
tString | myName |
REAL | myValue |
Definition at line 33 of file tStatEntry.h.
tStatEntry::tStatEntry | ( | tString | name | ) |
tStatEntry::~tStatEntry | ( | ) |
tString tStatEntry::getName | ( | ) |
Definition at line 50 of file tStatEntry.cpp.
References myName.
00051 { 00052 return myName; 00053 }
REAL tStatEntry::getValue | ( | ) |
Definition at line 55 of file tStatEntry.cpp.
References myValue.
00056 { 00057 return myValue; 00058 }
void tStatEntry::setValue | ( | REAL | value | ) |
Definition at line 60 of file tStatEntry.cpp.
References myValue.
00061 { 00062 myValue = value; 00063 }
void tStatEntry::addValue | ( | REAL | value | ) |
Definition at line 65 of file tStatEntry.cpp.
References myValue.
00066 { 00067 myValue += value; 00068 }
int tStatEntry::id |
Definition at line 46 of file tStatEntry.h.
Referenced by gStatList::getPlaceInList(), and tStatFile::read().
bool tStatEntry::toWrite |
tString tStatEntry::myName [private] |
REAL tStatEntry::myValue [private] |
Definition at line 51 of file tStatEntry.h.
Referenced by addValue(), getValue(), setValue(), and tStatEntry().