VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Types | Public Member Functions | Protected Attributes | Private Attributes
trpgPrintGraphParser::ReadHelper Class Reference
Inheritance diagram for trpgPrintGraphParser::ReadHelper:
Inheritance graph
[legend]

Public Types

typedef std::vector< trpgChildRef > ChildRefList
 

Public Member Functions

 ReadHelper (trpgPrintGraphParser *inPG, trpgPrintBuffer *inBuf)
 
virtual ~ReadHelper () override
 
virtual void * Parse (trpgToken, trpgReadBuffer &buf) override
 
void Reset ()
 
unsigned int GetNbChildrenRef () const
 
const trpgChildRef * GetChildRef (unsigned int idx) const
 
- Public Member Functions inherited from trpgr_Callback
virtual ~trpgr_Callback (void)
 

Protected Attributes

trpgPrintBuffer * pBuf
 
trpgPrintGraphParser * parse
 

Private Attributes

ChildRefList childRefList
 

Member Typedef Documentation

typedef std::vector<const trpgChildRef> ChildRefList; The const in the template parameter was removed because it causes GCC to freak out. I am of the opinion that const doesn't make sense in a template parameter for std::vector anyway... const prevents you from changing the value, so what exactly is the point? How does one add entries to the vector without giving them a value? -ADS

Constructor & Destructor Documentation

trpgPrintGraphParser::ReadHelper::ReadHelper ( trpgPrintGraphParser *  inPG,
trpgPrintBuffer *  inBuf 
)
inline
virtual trpgPrintGraphParser::ReadHelper::~ReadHelper ( )
inlineoverridevirtual

Member Function Documentation

virtual void* trpgPrintGraphParser::ReadHelper::Parse ( trpgToken  ,
trpgReadBuffer &  buf 
)
overridevirtual

Reimplemented from trpgr_Callback.

void trpgPrintGraphParser::ReadHelper::Reset ( )
unsigned int trpgPrintGraphParser::ReadHelper::GetNbChildrenRef ( ) const

After parsing this will return the number of trpgChildRef node found.

const trpgChildRef* trpgPrintGraphParser::ReadHelper::GetChildRef ( unsigned int  idx) const

This will return the trpgChildRef node associated with the index. this will retrun 0 if idx is out of bound.

Member Data Documentation

trpgPrintBuffer* trpgPrintGraphParser::ReadHelper::pBuf
protected
trpgPrintGraphParser* trpgPrintGraphParser::ReadHelper::parse
protected
ChildRefList trpgPrintGraphParser::ReadHelper::childRefList
private

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

Document ID: Generated on Thu Oct 15 21:27:02 EDT 2026 from SVN revision 296421
Copyright © 2005-2026 MAK Technologies. All Rights Reserved (www.mak.com)