src/inVRs/SystemCore/XMLTools.cpp File Reference

#include <stdarg.h>
#include <assert.h>
#include <string>
#include <gmtl/AxisAngle.h>
#include <gmtl/MatrixOps.h>
#include <gmtl/Generate.h>
#include "Platform.h"
#include "XMLTools.h"
#include "DebugOutput.h"
#include "../OutputInterface/SceneGraphInterface.h"
#include "../OutputInterface/OutputInterface.h"
#include "Configuration.h"
#include "WorldDatabase/WorldDatabase.h"

Include dependency graph for XMLTools.cpp:


Functions

INVRS_SYSTEMCORE_API bool readTransformationDataFromXmlElement (TransformationData &dst, const XmlElement *element)
INVRS_SYSTEMCORE_API bool readTransformationDataFromXML (TransformationData &dst, IrrXMLReader *xml, const char *endTag)
INVRS_SYSTEMCORE_API
ArgumentVector
readArgumentsFromXmlElement (const XmlElement *element)
INVRS_SYSTEMCORE_API
ArgumentVector
readArgumentsFromXML (IrrXMLReader *xml, std::string endTag)
INVRS_SYSTEMCORE_API
ModelInterface
readRepresentationFromXmlElement (const XmlElement *element, OBJECTTYPE type)
INVRS_SYSTEMCORE_API
ModelInterface
readRepresentationFromXML (IrrXMLReader *xml, OBJECTTYPE type)
INVRS_SYSTEMCORE_API bool stringEqualsAny (std::string &src)
INVRS_SYSTEMCORE_API bool fileExists (const std::string &file)

Function Documentation

INVRS_SYSTEMCORE_API bool fileExists ( const std::string &  file  ) 

INVRS_SYSTEMCORE_API ArgumentVector* readArgumentsFromXML ( IrrXMLReader *  xml,
std::string  endTag = "" 
)

INVRS_SYSTEMCORE_API ArgumentVector* readArgumentsFromXmlElement ( const XmlElement element  ) 

Returns a list of pointers to parsed attributes of an xml-element. xml example: <xxx attint="2" attbool="true" attstring="Selection" attfloat="3.1415"> returns an array of pointers to the parsed attributes in order supported types: attBool attInt attFloat attString

INVRS_SYSTEMCORE_API ModelInterface* readRepresentationFromXML ( IrrXMLReader *  xml,
OBJECTTYPE  type 
)

INVRS_SYSTEMCORE_API ModelInterface* readRepresentationFromXmlElement ( const XmlElement element,
OBJECTTYPE  type 
)

INVRS_SYSTEMCORE_API bool readTransformationDataFromXML ( TransformationData dst,
IrrXMLReader *  xml,
const char *  endTag 
)

INVRS_SYSTEMCORE_API bool readTransformationDataFromXmlElement ( TransformationData dst,
const XmlElement element 
)

checks xml stream for elements translation, rotation, scale and reads the appropriate float attributes xml example: <translation x="0" y="0" z="0"> <rotation x="1" y="0" z="0" angle="45"> angle in degree <scale x="0.5" y="0.5" z="0.5"> only the element read will be overwritten!

INVRS_SYSTEMCORE_API bool stringEqualsAny ( std::string &  src  ) 


Generated on Wed Oct 20 16:11:49 2010 for inVRs by doxygen 1.5.8