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

Public Types | |
| typedef std::map< int, trpgModel > | ModelMapType |
Public Member Functions | |
| trpgModelTable (void) | |
| ~trpgModelTable (void) | |
| void | SetNumModels (int) |
| int | AddModel (trpgModel &) |
| int | FindAddModel (trpgModel &) |
| void | SetModel (int, const trpgModel &) |
| bool | GetNumModels (int &) const |
| Returns the number of models in this table. More... | |
| bool | GetModel (int modID, trpgModel &) const |
| trpgModel * | GetModelRef (int) |
| bool | isValid (void) const |
| Validity check. More... | |
| void | Reset (void) |
| Resets the contents back to empty. More... | |
| bool | Write (trpgWriteBuffer &) |
| Writes this class to a write buffer. More... | |
| bool | Read (trpgReadBuffer &) |
| Reads this class from a read buffer. More... | |
| bool | Print (trpgPrintBuffer &) const |
| Prints this class to a print buffer. More... | |
| bool | FindByName (const char *name, unsigned int &mId) |
| ModelMapType * | GetModelMap () |
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. More... | |
| virtual TeAttrHdl | GetHandle () const |
| virtual void | SetHandle (TeAttrHdl hdl) |
Protected Attributes | |
| ModelMapType | modelsMap |
Protected Attributes inherited from trpgReadWriteable | |
| char | errMess [512] |
Protected Attributes inherited from trpgCheckable | |
| bool | valid |
| TeAttrHdl | handle |
| bool | writeHandle |
| typedef std::map<int,trpgModel> trpgModelTable::ModelMapType |
| trpgModelTable::trpgModelTable | ( | void | ) |
| trpgModelTable::~trpgModelTable | ( | void | ) |
| void trpgModelTable::SetNumModels | ( | int | ) |
| bool trpgModelTable::isValid | ( | void | ) | const |
Validity check.
|
virtual |
Resets the contents back to empty.
Implements trpgReadWriteable.
|
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.
|
inline |
|
protected |