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

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.

Reimplemented from trpgCheckable.

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 Wed Jul 29 00:55:00 EDT 2015 from SVN revision 155257
Copyright © 2005-2015 VT MÄK. All Rights Reserved (www.mak.com)