RavEngine
Loading...
Searching...
No Matches
physx::XmlReader Class Referenceabstract

#include <SnXmlReader.h>

Inheritance diagram for physx::XmlReader:
[legend]

Public Member Functions

virtual bool read (const char *inName, const char *&outData)=0
 
virtual bool read (const char *inName, PxSerialObjectId &outId)=0
 
virtual bool gotoChild (const char *inName)=0
 
virtual bool gotoFirstChild ()=0
 
virtual bool gotoNextSibling ()=0
 
virtual PxU32 countChildren ()=0
 
virtual const char * getCurrentItemName ()=0
 
virtual const char * getCurrentItemValue ()=0
 
virtual bool leaveChild ()=0
 
virtual XmlReader * getParentReader ()=0
 
virtual void pushCurrentContext ()=0
 
virtual void popCurrentContext ()=0
 

Detailed Description

Reader used to read data out of the repx format.

Member Function Documentation

◆ countChildren()

virtual PxU32 physx::XmlReader::countChildren ( )
pure virtual

Count all children of the current object

Implemented in physx::Sn::XmlNodeReader.

◆ getCurrentItemName()

virtual const char * physx::XmlReader::getCurrentItemName ( )
pure virtual

Get the name of the current item

Implemented in physx::Sn::XmlNodeReader.

◆ getCurrentItemValue()

virtual const char * physx::XmlReader::getCurrentItemValue ( )
pure virtual

Get the value of the current item

Implemented in physx::Sn::XmlNodeReader.

◆ getParentReader()

virtual XmlReader * physx::XmlReader::getParentReader ( )
pure virtual

Get reader for the parental object

Implemented in physx::Sn::XmlNodeReader.

◆ gotoChild()

virtual bool physx::XmlReader::gotoChild ( const char *  inName)
pure virtual

Goto a child element by name. That child becomes this reader's context

Implemented in physx::Sn::XmlNodeReader.

◆ gotoFirstChild()

virtual bool physx::XmlReader::gotoFirstChild ( )
pure virtual

Goto the first child regardless of name

Implemented in physx::Sn::XmlNodeReader.

◆ gotoNextSibling()

virtual bool physx::XmlReader::gotoNextSibling ( )
pure virtual

Goto the next sibling regardless of name

Implemented in physx::Sn::XmlNodeReader.

◆ leaveChild()

virtual bool physx::XmlReader::leaveChild ( )
pure virtual

Leave the current child

Implemented in physx::Sn::XmlNodeReader.

◆ popCurrentContext()

virtual void physx::XmlReader::popCurrentContext ( )
pure virtual

Pop the current context back to where it during push

Implemented in physx::Sn::XmlNodeReader.

◆ pushCurrentContext()

virtual void physx::XmlReader::pushCurrentContext ( )
pure virtual

Ensures we don't leave the reader in an odd state due to not leaving a given child

Implemented in physx::Sn::XmlNodeReader.

◆ read() [1/2]

virtual bool physx::XmlReader::read ( const char *  inName,
const char *&  outData 
)
pure virtual

Read a key-value pair out of the database

Implemented in physx::Sn::XmlNodeReader.

◆ read() [2/2]

virtual bool physx::XmlReader::read ( const char *  inName,
PxSerialObjectId &  outId 
)
pure virtual

Read an object id out of the database

Implemented in physx::Sn::XmlNodeReader.


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