VR-Forces 4.6 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions | Protected Types | Protected Attributes
trpgMatTable Class Reference
Inheritance diagram for trpgMatTable:
Inheritance graph
[legend]

Public Member Functions

 trpgMatTable (void)
 ~trpgMatTable (void)
void SetNumTable (int)
void SetNumMaterial (int)
void SetMaterial (int, const trpgMaterial &)
int AddMaterial (const trpgMaterial &, bool lookForExisting=true)
bool GetNumTable (int &) const
 The following method is unused currently.
bool GetNumMaterial (int &) const
bool GetMaterial (int subTable, int matID, trpgMaterial &) const
const trpgMaterialGetMaterialRef (int, int) const
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.
- Public Member Functions inherited from trpgReadWriteable
 trpgReadWriteable ()
const chargetErrMess () const
- Public Member Functions inherited from trpgCheckable
 trpgCheckable (void)
virtual ~trpgCheckable (void)
virtual TeAttrHdl GetHandle () const
virtual void SetHandle (TeAttrHdl hdl)

Protected Types

typedef std::map< int,
trpgMaterial
MaterialMapType

Protected Attributes

int numTable
int numMat
MaterialMapType materialMap
- 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,trpgMaterial> trpgMatTable::MaterialMapType
protected

Constructor & Destructor Documentation

trpgMatTable::trpgMatTable ( void  )
trpgMatTable::~trpgMatTable ( void  )

Member Function Documentation

void trpgMatTable::SetNumTable ( int  )
void trpgMatTable::SetNumMaterial ( int  )
void trpgMatTable::SetMaterial ( int  ,
const trpgMaterial  
)
int trpgMatTable::AddMaterial ( const trpgMaterial ,
bool  lookForExisting = true 
)
bool trpgMatTable::GetNumTable ( int ) const

The following method is unused currently.

bool trpgMatTable::GetNumMaterial ( int ) const
bool trpgMatTable::GetMaterial ( int  subTable,
int  matID,
trpgMaterial  
) const
const trpgMaterial* trpgMatTable::GetMaterialRef ( int  ,
int   
) const
bool trpgMatTable::isValid ( void  ) const

Validity check.

Reimplemented from trpgCheckable.

void trpgMatTable::Reset ( void  )
virtual

Resets the contents back to empty.

Implements trpgReadWriteable.

bool trpgMatTable::Write ( trpgWriteBuffer )
virtual

Writes this class to a write buffer.

Implements trpgReadWriteable.

Reimplemented in trpgMatTable1_0.

bool trpgMatTable::Read ( trpgReadBuffer )
virtual

Reads this class from a read buffer.

Reimplemented from trpgReadWriteable.

Reimplemented in trpgMatTable1_0.

bool trpgMatTable::Print ( trpgPrintBuffer ) const
virtual

Prints this class to a print buffer.

Reimplemented from trpgReadWriteable.

Member Data Documentation

int trpgMatTable::numTable
protected
int trpgMatTable::numMat
protected
MaterialMapType trpgMatTable::materialMap
protected

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

Document ID: Generated on Thu Apr 12 03:15:37 EDT 2018 from SVN revision 187986
Copyright © 2005-2018 VT MÄK. All Rights Reserved (www.mak.com)