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

Public Types | |
| enum | { Local, External } |
Public Member Functions | |
| trpgModel (void) | |
| trpgModel (const trpgModel &) | |
| ~trpgModel (void) | |
| void | SetName (const char *) |
| Sets the name of the external model file and sets this model to External type. More... | |
| void | SetReference (trpgDiskRef) |
| Sets the on-disk reference to an internal model and sets this model to Internal type. More... | |
| void | SetType (int) |
| Sets the model type. More... | |
| void | SetNumTiles (int) |
| void | AddTile (void) |
| bool | GetType (int &) |
| bool | GetName (char *ret, int strLen) const |
| bool | GetReference (trpgDiskRef &) const |
| bool | GetNumTiles (int &) const |
| 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 &, bool) |
| Reads this class from a read buffer. More... | |
| bool | Print (trpgPrintBuffer &) const |
| Prints this class to a print buffer. More... | |
| trpgModel & | operator= (const trpgModel &) |
| int | operator== (const trpgModel &) const |
Public Member Functions inherited from trpgReadWriteable | |
| trpgReadWriteable () | |
| virtual bool | Read (trpgReadBuffer &) |
| 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 | |
| int | type |
| char * | name |
| trpgDiskRef | diskRef |
| int | useCount |
Protected Attributes inherited from trpgReadWriteable | |
| char | errMess [512] |
Protected Attributes inherited from trpgCheckable | |
| bool | valid |
| TeAttrHdl | handle |
| bool | writeHandle |
| trpgModel::trpgModel | ( | void | ) |
| trpgModel::trpgModel | ( | const trpgModel & | ) |
| trpgModel::~trpgModel | ( | void | ) |
| void trpgModel::SetName | ( | const char * | ) |
Sets the name of the external model file and sets this model to External type.
5.28.04 - It will not set the model to be as of external type. Use the method from below to set the type of the model
| void trpgModel::SetReference | ( | trpgDiskRef | ) |
Sets the on-disk reference to an internal model and sets this model to Internal type.
5.28.04 - It will not set the model to be as of internal type. Use the method from below to set the type of the model
| void trpgModel::SetType | ( | int | ) |
Sets the model type.
| void trpgModel::SetNumTiles | ( | int | ) |
| void trpgModel::AddTile | ( | void | ) |
| bool trpgModel::GetReference | ( | trpgDiskRef & | ) | const |
| bool trpgModel::isValid | ( | void | ) | const |
Validity check.
|
virtual |
Resets the contents back to empty.
Implements trpgReadWriteable.
|
virtual |
Writes this class to a write buffer.
Implements trpgReadWriteable.
| bool trpgModel::Read | ( | trpgReadBuffer & | , |
| bool | |||
| ) |
Reads this class from a read buffer.
|
virtual |
Prints this class to a print buffer.
Reimplemented from trpgReadWriteable.
|
protected |
|
protected |
|
protected |
|
protected |