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

Public Types

enum  { Local, External }

Public Member Functions

 trpgModel (void)
 trpgModel (const trpgModel &)
 ~trpgModel (void)
void SetName (const char *)
 Sets the name of the external model file and sets this model to External type.
void SetReference (trpgDiskRef)
 Sets the on-disk reference to an internal model and sets this model to Internal type.
void SetType (int)
 Sets the model type.
void SetNumTiles (int)
void AddTile (void)
bool GetType (int &)
bool GetName (char *ret, int strLen) const
bool GetReference (trpgDiskRef &) const
bool GetNumTiles (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 &, bool)
 Reads this class from a read buffer.
bool Print (trpgPrintBuffer &) const
 Prints this class to a print buffer.
trpgModeloperator= (const trpgModel &)
int operator== (const trpgModel &) const
- Public Member Functions inherited from trpgReadWriteable
 trpgReadWriteable ()
virtual bool Read (trpgReadBuffer &)
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

int type
charname
trpgDiskRef diskRef
int useCount
- Protected Attributes inherited from trpgReadWriteable
char errMess [512]
- Protected Attributes inherited from trpgCheckable
bool valid
TeAttrHdl handle
bool writeHandle

Member Enumeration Documentation

anonymous enum
Enumerator:
Local 
External 

Constructor & Destructor Documentation

trpgModel::trpgModel ( void  )
trpgModel::trpgModel ( const trpgModel )
trpgModel::~trpgModel ( void  )

Member Function Documentation

void trpgModel::SetName ( const char )

Sets the name of the external model file and sets this model to External type.

5.28.04 - It will not set the model to be as of external type. Use the method from below to set the type of the model

void trpgModel::SetReference ( trpgDiskRef  )

Sets the on-disk reference to an internal model and sets this model to Internal type.

5.28.04 - It will not set the model to be as of internal type. Use the method from below to set the type of the model

void trpgModel::SetType ( int  )

Sets the model type.

void trpgModel::SetNumTiles ( int  )
void trpgModel::AddTile ( void  )
bool trpgModel::GetType ( int &  )
bool trpgModel::GetName ( char ret,
int  strLen 
) const
bool trpgModel::GetReference ( trpgDiskRef ) const
bool trpgModel::GetNumTiles ( int &  ) const
bool trpgModel::isValid ( void  ) const

Validity check.

Reimplemented from trpgCheckable.

void trpgModel::Reset ( void  )
virtual

Resets the contents back to empty.

Implements trpgReadWriteable.

bool trpgModel::Write ( trpgWriteBuffer )
virtual

Writes this class to a write buffer.

Implements trpgReadWriteable.

bool trpgModel::Read ( trpgReadBuffer ,
bool   
)

Reads this class from a read buffer.

bool trpgModel::Print ( trpgPrintBuffer ) const
virtual

Prints this class to a print buffer.

Reimplemented from trpgReadWriteable.

trpgModel& trpgModel::operator= ( const trpgModel )
int trpgModel::operator== ( const trpgModel ) const

Member Data Documentation

int trpgModel::type
protected
char* trpgModel::name
protected
trpgDiskRef trpgModel::diskRef
protected
int trpgModel::useCount
protected

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

Document ID: Generated on Tue Mar 8 22:13:38 EST 2016 from SVN revision 162938
Copyright © 2005-2015 VT MÄK. All Rights Reserved (www.mak.com)