VR-Forces 4.8 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties 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. More...
 
 trpgFilePrintBuffer (char *)
 
 ~trpgFilePrintBuffer (void)
 
bool isValid (void)
 Check if file print buffer is valid (i.e. if file was opened) More...
 
bool prnLine (const char *str=NULL)
 For a file printer buffer, this writes a string out to a file. More...
 
- 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) More...
 
virtual void DecreaseIndent (int amount=1)
 Decreases the current indentation by the amount given (defaults to one) More...
 

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 Thu Aug 27 10:56:05 EDT 2020 from SVN revision 217100
Copyright © 2005-2020 MAK Technologies. All Rights Reserved (www.mak.com)