Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members

RayGina::CORE::XMLParser Class Reference

#include <XMLParser.hxx>

List of all members.

Public Member Functions

 XMLParser ()
 ~XMLParser ()
const RStatus read (const RString filename, Scene *theScene)
 reading a scene from a given RAYXML-file
const RStatus createRNG (const RString filename)

Protected Member Functions

const RStatus handle_xml_tag (xmlChar *tag, xmlTextReaderPtr reader)
const RStatus parseObject (const RExtension *ext, xmlTextReaderPtr reader, xmlChar *tag)
const RStatus _createRNGByTag (std::ofstream &out, RUInt32 superclassID, Spacer spacer)

Private Member Functions

const RStatus _parseAttr (RObject *robj, const RatBase *attr, xmlTextReaderPtr reader, xmlChar *tag, const RBool inArrayParsing, RUInt currentArrayPosition=0)

Private Attributes

Scene_currentScene
XMLParserRObjectList_robjects
RUInt _arrayIndexCounter
 index counter for parsing array attributes
RUInt _arraySize
 the current size of the array in the array attribute
RString _filename


Constructor & Destructor Documentation

XMLParser::XMLParser  ) 
 

Definition at line 30 of file XMLParser.cxx.

XMLParser::~XMLParser  ) 
 

Definition at line 42 of file XMLParser.cxx.


Member Function Documentation

const RStatus XMLParser::_createRNGByTag std::ofstream &  out,
RUInt32  superclassID,
Spacer  spacer
[protected]
 

Definition at line 1072 of file XMLParser.cxx.

const RStatus RayGina::CORE::XMLParser::_parseAttr RObject robj,
const RatBase attr,
xmlTextReaderPtr  reader,
xmlChar *  tag,
const RBool  inArrayParsing,
RUInt  currentArrayPosition = 0
[private]
 

const RStatus XMLParser::createRNG const RString  filename  ) 
 

Definition at line 1023 of file XMLParser.cxx.

const RStatus XMLParser::handle_xml_tag xmlChar *  tag,
xmlTextReaderPtr  reader
[protected]
 

Definition at line 884 of file XMLParser.cxx.

const RStatus XMLParser::parseObject const RExtension ext,
xmlTextReaderPtr  reader,
xmlChar *  tag
[protected]
 

Definition at line 822 of file XMLParser.cxx.

const RStatus XMLParser::read const RString  filename,
Scene theScene
 

reading a scene from a given RAYXML-file

Definition at line 935 of file XMLParser.cxx.


Member Data Documentation

RUInt RayGina::CORE::XMLParser::_arrayIndexCounter [private]
 

index counter for parsing array attributes

Definition at line 115 of file XMLParser.hxx.

RUInt RayGina::CORE::XMLParser::_arraySize [private]
 

the current size of the array in the array attribute

Definition at line 117 of file XMLParser.hxx.

Scene* RayGina::CORE::XMLParser::_currentScene [private]
 

Definition at line 110 of file XMLParser.hxx.

RString RayGina::CORE::XMLParser::_filename [private]
 

Definition at line 119 of file XMLParser.hxx.

XMLParserRObjectList* RayGina::CORE::XMLParser::_robjects [private]
 

Definition at line 112 of file XMLParser.hxx.


The documentation for this class was generated from the following files:
Generated on Sun Dec 2 17:01:08 2007 for rayGina by  doxygen 1.3.9.1