VR-Forces 4.6 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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 Thu Apr 12 03:15:37 EDT 2018 from SVN revision 187986
Copyright © 2005-2018 VT MÄK. All Rights Reserved (www.mak.com)