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 Member Functions | Protected Attributes
trpgFilePrintBuffer Class Reference
Inheritance diagram for trpgFilePrintBuffer:
Inheritance graph
[legend]

Public Member Functions

 trpgFilePrintBuffer (FILE *)
 This class can be constructed with either a FILE pointer or a file name.
 trpgFilePrintBuffer (char *)
 ~trpgFilePrintBuffer (void)
bool isValid (void)
 Check if file print buffer is valid (i.e. if file was opened)
bool prnLine (const char *str=NULL)
 For a file printer buffer, this writes a string out to a file.
- Public Member Functions inherited from trpgPrintBuffer
 trpgPrintBuffer (void)
virtual ~trpgPrintBuffer (void)
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 Attributes

bool valid
bool isMine
FILE * fp
- Protected Attributes inherited from trpgPrintBuffer
int curIndent
char indentStr [200]

Additional Inherited Members

- Protected Member Functions inherited from trpgPrintBuffer
void updateIndent (void)

Constructor & Destructor Documentation

trpgFilePrintBuffer::trpgFilePrintBuffer ( FILE *  )

This class can be constructed with either a FILE pointer or a file name.

trpgFilePrintBuffer::trpgFilePrintBuffer ( char )
trpgFilePrintBuffer::~trpgFilePrintBuffer ( void  )

Member Function Documentation

bool trpgFilePrintBuffer::isValid ( void  )
inlinevirtual

Check if file print buffer is valid (i.e. if file was opened)

Reimplemented from trpgPrintBuffer.

bool trpgFilePrintBuffer::prnLine ( const char str = NULL)
virtual

For a file printer buffer, this writes a string out to a file.

Implements trpgPrintBuffer.

Member Data Documentation

bool trpgFilePrintBuffer::valid
protected
bool trpgFilePrintBuffer::isMine
protected
FILE* trpgFilePrintBuffer::fp
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)