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

Public Types

enum  LabelType {
  VertBillboard, Billboard, Panel, Cube,
  MaxLabelType
}
 

Public Member Functions

 trpgLabelProperty (void)
 
 ~trpgLabelProperty (void)
 
bool operator== (const trpgLabelProperty &) const
 
void SetType (LabelType)
 Set the label type. See GetType() for more information. More...
 
LabelType GetType (void) const
 
void SetFontStyle (int)
 Set the font style ID. Should point into trpgTextStyleTable. More...
 
int GetFontStyle (void) const
 Get the font style ID. Points into trpgTextStyleTable. More...
 
void SetSupport (int)
 Set the support style ID. Should point into trpgSupportTable. More...
 
int GetSupport (void) const
 Get the font style ID. Points into trpgSupportTable. More...
 
bool Write (trpgWriteBuffer &)
 Write this class to a write buffer. More...
 
bool Read (trpgReadBuffer &)
 Reads this class from a read buffer. More...
 
bool Print (trpgPrintBuffer &) const
 Prints this class to a print buffer. More...
 
void Reset (void)
 Reset the contents back to empty. More...
 
bool isValid (void) const
 Return object validity. More...
 
- 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
 Returns the state of the valid flag, or can be overriden by a subclass to do a more complex check. More...
 
virtual TeAttrHdl GetHandle () const
 
virtual void SetHandle (TeAttrHdl hdl)
 

Protected Attributes

int fontId
 
int supportId
 
LabelType type
 
- Protected Attributes inherited from trpgReadWriteable
char errMess [512]
 
- Protected Attributes inherited from trpgCheckable
bool valid
 
TeAttrHdl handle
 
bool writeHandle
 

Member Enumeration Documentation

Enumerator
VertBillboard 
Billboard 
Panel 
Cube 
MaxLabelType 

Constructor & Destructor Documentation

trpgLabelProperty::trpgLabelProperty ( void  )
trpgLabelProperty::~trpgLabelProperty ( void  )

Member Function Documentation

bool trpgLabelProperty::operator== ( const trpgLabelProperty ) const
void trpgLabelProperty::SetType ( LabelType  )

Set the label type. See GetType() for more information.

LabelType trpgLabelProperty::GetType ( void  ) const
void trpgLabelProperty::SetFontStyle ( int  )

Set the font style ID. Should point into trpgTextStyleTable.

int trpgLabelProperty::GetFontStyle ( void  ) const

Get the font style ID. Points into trpgTextStyleTable.

void trpgLabelProperty::SetSupport ( int  )

Set the support style ID. Should point into trpgSupportTable.

int trpgLabelProperty::GetSupport ( void  ) const

Get the font style ID. Points into trpgSupportTable.

bool trpgLabelProperty::Write ( trpgWriteBuffer )
virtual

Write this class to a write buffer.

Implements trpgReadWriteable.

bool trpgLabelProperty::Read ( trpgReadBuffer )
virtual

Reads this class from a read buffer.

Reimplemented from trpgReadWriteable.

bool trpgLabelProperty::Print ( trpgPrintBuffer ) const
virtual

Prints this class to a print buffer.

Reimplemented from trpgReadWriteable.

void trpgLabelProperty::Reset ( void  )
virtual

Reset the contents back to empty.

Implements trpgReadWriteable.

bool trpgLabelProperty::isValid ( void  ) const

Return object validity.

Member Data Documentation

int trpgLabelProperty::fontId
protected
int trpgLabelProperty::supportId
protected
LabelType trpgLabelProperty::type
protected

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

Document ID: Generated on Tue Sep 21 17:42:52 EDT 2021 from SVN revision 234861
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)