VR-Forces 4.1.1 Class Documentation
List of all members | Public Member Functions | Protected Member Functions | Protected Attributes
trpgPrintBuffer Class Reference
Inheritance diagram for trpgPrintBuffer:
Inheritance graph
[legend]

Public Member Functions

 trpgPrintBuffer (void)
virtual ~trpgPrintBuffer (void)
virtual bool isValid (void)
 Check if print buffer is valid.
virtual bool prnLine (const char *str=NULL)=0
 The main print function. Subclasses must fill this in.
virtual void IncreaseIndent (int amount=1)
 This increases the current indentation by the amount given (defaults to one)
virtual void DecreaseIndent (int amount=1)
 Decreases the current indentation by the amount given (defaults to one)

Protected Member Functions

void updateIndent (void)

Protected Attributes

int curIndent
char indentStr [200]

Constructor & Destructor Documentation

trpgPrintBuffer::trpgPrintBuffer ( void  )
virtual trpgPrintBuffer::~trpgPrintBuffer ( void  )
inlinevirtual

Member Function Documentation

virtual bool trpgPrintBuffer::isValid ( void  )
inlinevirtual

Check if print buffer is valid.

Reimplemented in trpgFilePrintBuffer.

virtual bool trpgPrintBuffer::prnLine ( const char *  str = NULL)
pure virtual

The main print function. Subclasses must fill this in.

Implemented in trpgFilePrintBuffer.

virtual void trpgPrintBuffer::IncreaseIndent ( int  amount = 1)
virtual

This increases the current indentation by the amount given (defaults to one)

virtual void trpgPrintBuffer::DecreaseIndent ( int  amount = 1)
virtual

Decreases the current indentation by the amount given (defaults to one)

void trpgPrintBuffer::updateIndent ( void  )
protected

Member Data Documentation

int trpgPrintBuffer::curIndent
protected
char trpgPrintBuffer::indentStr[200]
protected

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

Document ID: Generated on Mon Apr 8 19:24:01 EDT 2013 from SVN revision 125877
Copyright © 2005-2013 VT MÄK. All Rights Reserved (www.mak.com)