VR-Forces 4.10 Class Documentation
 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 ()
 Clear all list and free associated pointer. More...
 
unsigned int GetNbChildrenRef () const
 After parsing this will return the number of trpgChildRef node found. More...
 
const trpgChildRefGetChildRef (unsigned int idx) const
 This will return the trpgChildRef node pointer associated with the index. More...
 
trpgr_ArchiveGetArchive ()
 Fetch the archive associated with this print. More...
 
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)
 Add and remove token callbacks. More...
 
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 &)
 Parse a read buffer. More...
 
virtual bool TokenIsValid (trpgToken)
 

Protected Member Functions

bool StartChildren (void *)
 Start defining children for the given object. More...
 
bool EndChildren (void *)
 

Protected Attributes

trpgPrintBufferprintBuf
 
trpgr_Archivearchive
 
trpgrImageHelperimageHelp
 
ReadHelperchildRefCB
 
- Protected Attributes inherited from trpgSceneParser
std::vector< void * > parents
 List of objects whose children we're working on. More...
 
- Protected Attributes inherited from trpgr_Parser
void * lastObject
 Check token validity. More...
 

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 Tue Sep 21 17:42:52 EDT 2021 from SVN revision 234861
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)