VR-Forces 5.0.2 Developer's Guide
 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}

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 &)
 
trpgReadGroupBaseGetCurrTop (void)
 
trpgReadTileHeaderGetTileHeaderRef (void)
 
GroupMapGetGroupMap (void)
 
- 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

trpgReadNodecurrTop
 
trpgReadNodetop
 
GroupMapgmap
 
trpgReadTileHeader tileHead
 
- Protected Attributes inherited from trpgSceneParser
std::vector< void * > parents
 
- Protected Attributes inherited from trpgr_Parser
void * lastObject
 

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 Sun Dec 4 20:22:03 EST 2022 from SVN revision 249613
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)