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

Classes

class  ReadHelper
 

Public Member Functions

 trpgPrintGraphParser (trpgr_Archive *, trpgrImageHelper *, trpgPrintBuffer *)
 
virtual ~trpgPrintGraphParser (void) override
 
void Reset ()
 
unsigned int GetNbChildrenRef () const
 
const trpgChildRefGetChildRef (unsigned int idx) const
 
trpgr_ArchiveGetArchive ()
 
trpgrImageHelperGetImageHelp ()
 
- Public Member Functions inherited from trpgSceneParser
 trpgSceneParser (void)
 
virtual ~trpgSceneParser (void) override
 
- Public Member Functions inherited from trpgr_Parser
 trpgr_Parser (void)
 
virtual ~trpgr_Parser (void)
 
bool isValid (void) const
 
virtual void AddCallback (trpgToken, trpgr_Callback *, bool destroy=true)
 
virtual void AddCallback (trpgToken, trpgReadWriteable *)
 
virtual const trpgr_CallbackGetCallback (trpgToken tok) const
 
virtual trpgr_CallbackGetCallback (trpgToken tok)
 
virtual void RemoveCallback (trpgToken)
 
virtual void SetDefaultCallback (trpgr_Callback *, bool destroy=true)
 
virtual bool Parse (trpgReadBuffer &)
 
virtual bool TokenIsValid (trpgToken)
 

Protected Member Functions

virtual bool StartChildren (void *) override
 
virtual bool EndChildren (void *) override
 

Protected Attributes

trpgPrintBufferprintBuf
 
trpgr_Archivearchive
 
trpgrImageHelperimageHelp
 
ReadHelperchildRefCB
 
- Protected Attributes inherited from trpgSceneParser
std::vector< void * > parents
 
- Protected Attributes inherited from trpgr_Parser
void * lastObject
 

Constructor & Destructor Documentation

trpgPrintGraphParser::trpgPrintGraphParser ( trpgr_Archive ,
trpgrImageHelper ,
trpgPrintBuffer  
)
virtual trpgPrintGraphParser::~trpgPrintGraphParser ( void  )
inlineoverridevirtual

Member Function Documentation

void trpgPrintGraphParser::Reset ( )

Clear all list and free associated pointer.

unsigned int trpgPrintGraphParser::GetNbChildrenRef ( ) const

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

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

This will return the trpgChildRef node pointer associated with the index. Will return 0 if index is out of bound.

trpgr_Archive* trpgPrintGraphParser::GetArchive ( )
inline

Fetch the archive associated with this print.

trpgrImageHelper* trpgPrintGraphParser::GetImageHelp ( )
inline
virtual bool trpgPrintGraphParser::StartChildren ( void *  )
overrideprotectedvirtual

Start defining children for the given object.

Reimplemented from trpgSceneParser.

virtual bool trpgPrintGraphParser::EndChildren ( void *  )
overrideprotectedvirtual

Reimplemented from trpgSceneParser.

Member Data Documentation

trpgPrintBuffer* trpgPrintGraphParser::printBuf
protected
trpgr_Archive* trpgPrintGraphParser::archive
protected
trpgrImageHelper* trpgPrintGraphParser::imageHelp
protected
ReadHelper* trpgPrintGraphParser::childRefCB
protected

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

Document ID: Generated on Thu Oct 23 22:29:17 EDT 2025 from SVN revision 280951
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)