![]() |
VR-Forces 4.5 Class Documentation
|

Public Member Functions | |
| trpgRangeTable (void) | |
| ~trpgRangeTable (void) | |
| bool | GetRange (int id, trpgRange &) const |
| Get the given range info. | |
| int | GetNumRanges () |
| Get the number of entries in the table. | |
| bool | SetRange (int id, trpgRange &) |
| Set the range info for the given ID. | |
| int | AddRange (trpgRange &) |
| Add a new range and return the ID. | |
| int | FindAddRange (trpgRange &) |
| Find a matching range and return it or add a new one if needed. | |
| bool | Write (trpgWriteBuffer &) |
| Writes this class to a write buffer. | |
| bool | Read (trpgReadBuffer &) |
| Reads this class from a read buffer. | |
| bool | Print (trpgPrintBuffer &) const |
| Prints this class to a print buffer. | |
| void | Reset (void) |
| Resets the contents back to empty. | |
| trpgRangeTable & | operator= (const trpgRangeTable &) |
| Assignment operator. | |
Public Member Functions inherited from trpgReadWriteable | |
| trpgReadWriteable () | |
| const char * | getErrMess () const |
Public Member Functions inherited from trpgCheckable | |
| trpgCheckable (void) | |
| virtual | ~trpgCheckable (void) |
| bool | isValid (void) const |
| Returns the state of the valid flag, or can be overriden by a subclass to do a more complex check. | |
| virtual TeAttrHdl | GetHandle () const |
| virtual void | SetHandle (TeAttrHdl hdl) |
Protected Types | |
| typedef std::map< int, trpgRange > | RangeMapType |
Protected Attributes | |
| RangeMapType | rangeMap |
Protected Attributes inherited from trpgReadWriteable | |
| char | errMess [512] |
Protected Attributes inherited from trpgCheckable | |
| bool | valid |
| TeAttrHdl | handle |
| bool | writeHandle |
|
protected |
| trpgRangeTable::trpgRangeTable | ( | void | ) |
| trpgRangeTable::~trpgRangeTable | ( | void | ) |
|
inline |
Get the number of entries in the table.
References int().
Find a matching range and return it or add a new one if needed.
|
virtual |
Writes this class to a write buffer.
Implements trpgReadWriteable.
|
virtual |
Reads this class from a read buffer.
Reimplemented from trpgReadWriteable.
|
virtual |
Prints this class to a print buffer.
Reimplemented from trpgReadWriteable.
|
virtual |
Resets the contents back to empty.
Implements trpgReadWriteable.
| trpgRangeTable& trpgRangeTable::operator= | ( | const trpgRangeTable & | ) |
Assignment operator.
|
protected |