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

Public Types

typedef std::map< int,
trpgTextStyle
StyleMapType
 

Public Member Functions

 trpgTextStyleTable (void)
 
 ~trpgTextStyleTable (void)
 
int AddStyle (const trpgTextStyle &)
 Add a single text style. More...
 
int FindAddStyle (const trpgTextStyle &)
 
int GetNumStyle (void) const
 Figure out how many text styles there are. More...
 
const trpgTextStyleGetStyleRef (int) const
 Return a reference to the given style. More...
 
bool isValid (void) const
 Validity check. More...
 
void Reset (void)
 Reset the contents back to empty. More...
 
bool Write (trpgWriteBuffer &)
 Write this class to a write buffer. More...
 
bool Read (trpgReadBuffer &)
 Read this class from a read buffer. More...
 
bool Print (trpgPrintBuffer &) const
 Print this class to a print buffer. More...
 
const StyleMapTypegetStyleMap () 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
 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

StyleMapType styleMap
 
- Protected Attributes inherited from trpgReadWriteable
char errMess [512]
 
- Protected Attributes inherited from trpgCheckable
bool valid
 
TeAttrHdl handle
 
bool writeHandle
 

Member Typedef Documentation

Constructor & Destructor Documentation

trpgTextStyleTable::trpgTextStyleTable ( void  )
trpgTextStyleTable::~trpgTextStyleTable ( void  )

Member Function Documentation

int trpgTextStyleTable::AddStyle ( const trpgTextStyle )

Add a single text style.

int trpgTextStyleTable::FindAddStyle ( const trpgTextStyle )
int trpgTextStyleTable::GetNumStyle ( void  ) const

Figure out how many text styles there are.

const trpgTextStyle* trpgTextStyleTable::GetStyleRef ( int  ) const

Return a reference to the given style.

bool trpgTextStyleTable::isValid ( void  ) const

Validity check.

void trpgTextStyleTable::Reset ( void  )
virtual

Reset the contents back to empty.

Implements trpgReadWriteable.

bool trpgTextStyleTable::Write ( trpgWriteBuffer )
virtual

Write this class to a write buffer.

Implements trpgReadWriteable.

bool trpgTextStyleTable::Read ( trpgReadBuffer )
virtual

Read this class from a read buffer.

Reimplemented from trpgReadWriteable.

bool trpgTextStyleTable::Print ( trpgPrintBuffer ) const
virtual

Print this class to a print buffer.

Reimplemented from trpgReadWriteable.

const StyleMapType* trpgTextStyleTable::getStyleMap ( ) const
inline

Member Data Documentation

StyleMapType trpgTextStyleTable::styleMap
protected

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

Document ID: Generated on Thu Aug 27 10:56:05 EDT 2020 from SVN revision 217100
Copyright © 2005-2020 MAK Technologies. All Rights Reserved (www.mak.com)