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 | 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)
 
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)
 
- 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

bool StartChildren (void *)
 
bool EndChildren (void *)
 

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  )
inlinevirtual

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
bool trpgPrintGraphParser::StartChildren ( void *  )
protectedvirtual

Start defining children for the given object.

Reimplemented from trpgSceneParser.

bool trpgPrintGraphParser::EndChildren ( void *  )
protectedvirtual

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