tStatEntry Class Reference

#include <tStatEntry.h>

Collaboration diagram for tStatEntry:

Collaboration graph
[legend]

List of all members.

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


Detailed Description

Definition at line 33 of file tStatEntry.h.


Constructor & Destructor Documentation

tStatEntry::tStatEntry ( tString  name  ) 

Definition at line 32 of file tStatEntry.cpp.

References myName, myValue, and toWrite.

00033 {
00034     myName = name;
00035     myValue = 0;
00036 
00037     toWrite = false;
00038     id = -1;
00039 }

tStatEntry::tStatEntry ( tString  name,
REAL  value 
)

Definition at line 41 of file tStatEntry.cpp.

References myName, myValue, and toWrite.

00042 {
00043     myName = name;
00044     myValue = value;
00045 
00046     toWrite = false;
00047     id = -1;
00048 }

tStatEntry::~tStatEntry (  ) 

Definition at line 70 of file tStatEntry.cpp.

00071 {
00072 }


Member Function Documentation

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 }


Member Data Documentation

int tStatEntry::id

Definition at line 46 of file tStatEntry.h.

Referenced by gStatList::getPlaceInList(), and tStatFile::read().

bool tStatEntry::toWrite

Definition at line 48 of file tStatEntry.h.

Referenced by tStatEntry().

tString tStatEntry::myName [private]

Definition at line 50 of file tStatEntry.h.

Referenced by getName(), and tStatEntry().

REAL tStatEntry::myValue [private]

Definition at line 51 of file tStatEntry.h.

Referenced by addValue(), getValue(), setValue(), and tStatEntry().


The documentation for this class was generated from the following files:
Generated on Sat Mar 15 23:59:14 2008 for Armagetron Advanced by  doxygen 1.5.4