VR-Forces 4.1.1 Class Documentation
List of all members | Public Types | Public Member Functions | Protected Attributes
trpgModelTable Class Reference
Inheritance diagram for trpgModelTable:
Inheritance graph
[legend]

Public Types

typedef std::map< int, trpgModelModelMapType

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.
bool GetModel (int modID, trpgModel &) const
trpgModelGetModelRef (int)
bool isValid (void) const
 Validity check.
void Reset (void)
 Resets the contents back to empty.
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.
bool FindByName (const char *name, unsigned int &mId)
ModelMapTypeGetModelMap ()
- Public Member Functions inherited from trpgReadWriteable
 trpgReadWriteable ()
const char * getErrMess () const
- Public Member Functions inherited from trpgCheckable
 trpgCheckable (void)
virtual ~trpgCheckable (void)
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

Member Typedef Documentation

typedef std::map<int,trpgModel> trpgModelTable::ModelMapType

Constructor & Destructor Documentation

trpgModelTable::trpgModelTable ( void  )
trpgModelTable::~trpgModelTable ( void  )

Member Function Documentation

void trpgModelTable::SetNumModels ( int  )
int trpgModelTable::AddModel ( trpgModel )
int trpgModelTable::FindAddModel ( trpgModel )
void trpgModelTable::SetModel ( int  ,
const trpgModel  
)
bool trpgModelTable::GetNumModels ( int &  ) const

Returns the number of models in this table.

bool trpgModelTable::GetModel ( int  modID,
trpgModel  
) const
trpgModel* trpgModelTable::GetModelRef ( int  )
bool trpgModelTable::isValid ( void  ) const

Validity check.

Reimplemented from trpgCheckable.

void trpgModelTable::Reset ( void  )
virtual

Resets the contents back to empty.

Implements trpgReadWriteable.

bool trpgModelTable::Write ( trpgWriteBuffer )
virtual

Writes this class to a write buffer.

Implements trpgReadWriteable.

bool trpgModelTable::Read ( trpgReadBuffer )
virtual

Reads this class from a read buffer.

Reimplemented from trpgReadWriteable.

bool trpgModelTable::Print ( trpgPrintBuffer ) const
virtual

Prints this class to a print buffer.

Reimplemented from trpgReadWriteable.

bool trpgModelTable::FindByName ( const char *  name,
unsigned int &  mId 
)
ModelMapType* trpgModelTable::GetModelMap ( )
inline

Member Data Documentation

ModelMapType trpgModelTable::modelsMap
protected

The documentation for this class was generated from the following file:

Document ID: Generated on Mon Apr 8 19:24:01 EDT 2013 from SVN revision 125877
Copyright © 2005-2013 VT MÄK. All Rights Reserved (www.mak.com)