VR-Forces 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
trpgSupportStyle Class Reference
Inheritance diagram for trpgSupportStyle:
Inheritance graph
[legend]

Public Types

enum  SupportType { Line, Cylinder, MaxSupportType }
 

Public Member Functions

 trpgSupportStyle (void)
 
 ~trpgSupportStyle (void)
 
bool operator== (const trpgSupportStyle &) const
 
void SetType (SupportType)
 
SupportType GetType (void) const
 
void SetMaterial (int)
 
int GetMaterial (void) const
 
bool Write (trpgWriteBuffer &)
 
bool Read (trpgReadBuffer &)
 
bool Print (trpgPrintBuffer &) const
 
void Reset (void)
 
bool isValid (void) const
 
- 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

SupportType type
 
int matId
 
- Protected Attributes inherited from trpgReadWriteable
char errMess [512]
 
- Protected Attributes inherited from trpgCheckable
bool valid
 
TeAttrHdl handle
 
bool writeHandle
 

Member Enumeration Documentation

Enumerator
Line 
Cylinder 
MaxSupportType 

Constructor & Destructor Documentation

trpgSupportStyle::trpgSupportStyle ( void  )
trpgSupportStyle::~trpgSupportStyle ( void  )

Member Function Documentation

bool trpgSupportStyle::operator== ( const trpgSupportStyle ) const
void trpgSupportStyle::SetType ( SupportType  )

Set the support type. Get GetSupportType() for more information.

SupportType trpgSupportStyle::GetType ( void  ) const
void trpgSupportStyle::SetMaterial ( int  )

Set the material ID. Should point into trpgMatTable.

int trpgSupportStyle::GetMaterial ( void  ) const

Get the material ID. Points into trpgMatTable.

bool trpgSupportStyle::Write ( trpgWriteBuffer )
virtual

Write this class to a write buffer.

Implements trpgReadWriteable.

bool trpgSupportStyle::Read ( trpgReadBuffer )
virtual

Reads this class from a read buffer.

Reimplemented from trpgReadWriteable.

bool trpgSupportStyle::Print ( trpgPrintBuffer ) const
virtual

Prints this class to a print buffer.

Reimplemented from trpgReadWriteable.

void trpgSupportStyle::Reset ( void  )
virtual

Reset the contents back to empty.

Implements trpgReadWriteable.

bool trpgSupportStyle::isValid ( void  ) const

Return object validity.

Member Data Documentation

SupportType trpgSupportStyle::type
protected
int trpgSupportStyle::matId
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)