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
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)
 Set the support type. Get GetSupportType() for more information.
SupportType GetType (void) const
void SetMaterial (int)
 Set the material ID. Should point into trpgMatTable.
int GetMaterial (void) const
 Get the material ID. Points into trpgMatTable.
bool Write (trpgWriteBuffer &)
 Write 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 Reset (void)
 Reset the contents back to empty.
bool isValid (void) const
 Return object validity.
- 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

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.

Reimplemented from trpgCheckable.

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 Mon Jul 4 01:00:18 EDT 2016 from SVN revision 166489
Copyright © 2005-2015 VT MÄK. All Rights Reserved (www.mak.com)