VR-Forces 5.0.1 Developer's Guide
 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 Referenceabstract
Inheritance diagram for trpgPrintBuffer:
Inheritance graph
[legend]

Public Member Functions

 trpgPrintBuffer (void)
 
virtual ~trpgPrintBuffer (void)
 
virtual bool isValid (void)
 
virtual bool prnLine (const char *str=NULL)=0
 
virtual void IncreaseIndent (int amount=1)
 
virtual void DecreaseIndent (int amount=1)
 

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 Jun 20 00:38:30 EDT 2022 from SVN revision 244029
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)