VR-Forces 4.3.1 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator 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)
 {secret}
void SetMaterial (int no, int id)
void SetModel (int no, int id)
bool GetNumMaterial (int32 &) const
 Returns the number of materials used in this tile.
bool GetMaterial (int32 nth, int32 &matID) const
bool GetNumModel (int32 &) const
 This is the number of models used in this tile.
bool GetModel (int32 nth, int32 &modID) const
bool GetNumLocalMaterial (int32 &) const
 Returns the number of local materials in this tile.
bool GetLocalMaterial (int32 nth, trpgLocalMaterial &locMat) const
const std::vector
< trpgLocalMaterial > * 
GetLocalMaterialList (void) const
bool GetDate (int32 &) const
 {secret}
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.
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)
virtual TeAttrHdl GetHandle () const
virtual void SetHandle (TeAttrHdl hdl)

Protected Attributes

std::vector< intmatList
std::vector< intmodelList
std::vector< trpgLocalMateriallocMats
int date
 {secret}
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.

Reimplemented from trpgCheckable.

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 Wed Jul 29 00:55:00 EDT 2015 from SVN revision 155257
Copyright © 2005-2015 VT MÄK. All Rights Reserved (www.mak.com)