VR-Forces 5.0.3 Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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
 
bool GetModel (int modID, trpgModel &) const
 
trpgModelGetModelRef (int)
 
bool isValid (void) const
 
void Reset (void)
 
bool Write (trpgWriteBuffer &)
 
bool Read (trpgReadBuffer &)
 
bool Print (trpgPrintBuffer &) const
 
bool FindByName (const char *name, unsigned int &mId)
 
ModelMapTypeGetModelMap ()
 
- Public Member Functions inherited from trpgReadWriteable
 trpgReadWriteable ()
 
const chargetErrMess () const
 
- Public Member Functions inherited from trpgCheckable
 trpgCheckable (void)
 
virtual ~trpgCheckable (void)
 
bool isValid (void) const
 
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

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.

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 Thu Jun 1 17:58:13 EDT 2023 from SVN revision 255404
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)