VR-Forces 4.3 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator 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.
unsigned int GetNbChildrenRef () const
 After parsing this will return the number of trpgChildRef node found.
const trpgChildRefGetChildRef (unsigned int idx) const
 This will return the trpgChildRef node pointer associated with the index.
trpgr_ArchiveGetArchive ()
 Fetch the archive associated with this print.
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.
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.
virtual bool TokenIsValid (trpgToken)

Protected Member Functions

bool StartChildren (void *)
 Start defining children for the given object.
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.
- Protected Attributes inherited from trpgr_Parser
void * lastObject
 Check token validity.

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 Wed Mar 11 21:20:57 EDT 2015 from SVN revision 150940
Copyright © 2005-2014 VT MÄK. All Rights Reserved (www.mak.com)