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

Public Member Functions

 trpgTileHeader (void)
 
 ~trpgTileHeader (void)
 
void AddMaterial (int)
 
void AddModel (int)
 
void AddLocalMaterial (trpgLocalMaterial &)
 
void SetDate (int32)
 
void SetMaterial (int no, int id)
 
void SetModel (int no, int id)
 
bool GetNumMaterial (int32 &) const
 
bool GetMaterial (int32 nth, int32 &matID) const
 
bool GetNumModel (int32 &) const
 
bool GetModel (int32 nth, int32 &modID) const
 
bool GetNumLocalMaterial (int32 &) const
 
bool GetLocalMaterial (int32 nth, trpgLocalMaterial &locMat) const
 
const std::vector
< trpgLocalMaterial > * 
GetLocalMaterialList (void) const
 
bool GetDate (int32 &) const
 
bool isValid (void) const
 
void Reset (void)
 
bool Write (trpgWriteBuffer &)
 
bool Read (trpgReadBuffer &)
 
bool Print (trpgPrintBuffer &) const
 
void SetBlockNo (int row, int col)
 
void GetBlockNo (int &row, int &col)
 
- 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

std::vector< intmatList
 
std::vector< intmodelList
 
std::vector< trpgLocalMateriallocMats
 
int date
 
int row
 
int col
 
- Protected Attributes inherited from trpgReadWriteable
char errMess [512]
 
- Protected Attributes inherited from trpgCheckable
bool valid
 
TeAttrHdl handle
 
bool writeHandle
 

Constructor & Destructor Documentation

trpgTileHeader::trpgTileHeader ( void  )
trpgTileHeader::~trpgTileHeader ( void  )

Member Function Documentation

void trpgTileHeader::AddMaterial ( int  )
void trpgTileHeader::AddModel ( int  )
void trpgTileHeader::AddLocalMaterial ( trpgLocalMaterial )
void trpgTileHeader::SetDate ( int32  )

{secret}

void trpgTileHeader::SetMaterial ( int  no,
int  id 
)
void trpgTileHeader::SetModel ( int  no,
int  id 
)
bool trpgTileHeader::GetNumMaterial ( int32 ) const

Returns the number of materials used in this tile.

bool trpgTileHeader::GetMaterial ( int32  nth,
int32 matID 
) const
bool trpgTileHeader::GetNumModel ( int32 ) const

This is the number of models used in this tile.

bool trpgTileHeader::GetModel ( int32  nth,
int32 modID 
) const
bool trpgTileHeader::GetNumLocalMaterial ( int32 ) const

Returns the number of local materials in this tile.

bool trpgTileHeader::GetLocalMaterial ( int32  nth,
trpgLocalMaterial locMat 
) const
const std::vector<trpgLocalMaterial>* trpgTileHeader::GetLocalMaterialList ( void  ) const
bool trpgTileHeader::GetDate ( int32 ) const

{secret}

bool trpgTileHeader::isValid ( void  ) const

Validity check.

void trpgTileHeader::Reset ( void  )
virtual

Resets the contents back to empty.

Implements trpgReadWriteable.

bool trpgTileHeader::Write ( trpgWriteBuffer )
virtual

Writes this class to a write buffer.

Implements trpgReadWriteable.

bool trpgTileHeader::Read ( trpgReadBuffer )
virtual

Reads this class from a read buffer.

Reimplemented from trpgReadWriteable.

bool trpgTileHeader::Print ( trpgPrintBuffer ) const
virtual

Prints this class to a print buffer.

Reimplemented from trpgReadWriteable.

void trpgTileHeader::SetBlockNo ( int  row,
int  col 
)
inline
void trpgTileHeader::GetBlockNo ( int row,
int col 
)
inline

Member Data Documentation

std::vector<int> trpgTileHeader::matList
protected
std::vector<int> trpgTileHeader::modelList
protected
std::vector<trpgLocalMaterial> trpgTileHeader::locMats
protected
int trpgTileHeader::date
protected

{secret}

int trpgTileHeader::row
protected
int trpgTileHeader::col
protected

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

Document ID: Generated on Tue Sep 24 19:28:17 EDT 2024 from SVN revision 269799
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)