VR-Forces 4.8 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Types | Public Member Functions | Protected Member Functions | Protected Attributes
trpgSceneGraphParser Class Reference

{group:Demonstration Scene Graph} More...

Inheritance diagram for trpgSceneGraphParser:
Inheritance graph
[legend]

Public Types

typedef std::map< int,
trpgReadGroupBase *, std::less
< int > > 
GroupMap
 

Public Member Functions

 trpgSceneGraphParser (void)
 
virtual ~trpgSceneGraphParser (void)
 
trpgReadNodeParseScene (trpgReadBuffer &, GroupMap &)
 Call this instead of Parse() Deleting it is your responsibility. More...
 
trpgReadGroupBaseGetCurrTop (void)
 
trpgReadTileHeaderGetTileHeaderRef (void)
 Get the current parent object. More...
 
GroupMapGetGroupMap (void)
 For use by the helpers only. More...
 
- 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

trpgReadNodecurrTop
 
trpgReadNodetop
 Current parent group. More...
 
GroupMapgmap
 Top of everything. More...
 
trpgReadTileHeader tileHead
 
- 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...
 

Detailed Description

{group:Demonstration Scene Graph}

Member Typedef Documentation

typedef std::map< int,trpgReadGroupBase *,std::less<int> > trpgSceneGraphParser::GroupMap

Constructor & Destructor Documentation

trpgSceneGraphParser::trpgSceneGraphParser ( void  )
virtual trpgSceneGraphParser::~trpgSceneGraphParser ( void  )
inlinevirtual

Member Function Documentation

trpgReadNode* trpgSceneGraphParser::ParseScene ( trpgReadBuffer ,
GroupMap  
)

Call this instead of Parse() Deleting it is your responsibility.

trpgReadGroupBase* trpgSceneGraphParser::GetCurrTop ( void  )
trpgReadTileHeader* trpgSceneGraphParser::GetTileHeaderRef ( void  )

Get the current parent object.

GroupMap* trpgSceneGraphParser::GetGroupMap ( void  )

For use by the helpers only.

bool trpgSceneGraphParser::StartChildren ( void *  )
protectedvirtual

Start defining children for the given object.

Reimplemented from trpgSceneParser.

bool trpgSceneGraphParser::EndChildren ( void *  )
protectedvirtual

Reimplemented from trpgSceneParser.

Member Data Documentation

trpgReadNode* trpgSceneGraphParser::currTop
protected
trpgReadNode* trpgSceneGraphParser::top
protected

Current parent group.

GroupMap* trpgSceneGraphParser::gmap
protected

Top of everything.

trpgReadTileHeader trpgSceneGraphParser::tileHead
protected

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

Document ID: Generated on Thu Aug 27 10:56:05 EDT 2020 from SVN revision 217100
Copyright © 2005-2020 MAK Technologies. All Rights Reserved (www.mak.com)