VR-Forces 4.3.1 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator 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.
trpgReadGroupBaseGetCurrTop (void)
trpgReadTileHeaderGetTileHeaderRef (void)
 Get the current parent object.
GroupMapGetGroupMap (void)
 For use by the helpers only.
- 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

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

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 Wed Jul 29 00:55:00 EDT 2015 from SVN revision 155257
Copyright © 2005-2015 VT MÄK. All Rights Reserved (www.mak.com)