All Classes Namespaces Files Functions Variables Typedefs Friends Macros Modules
Namespaces | Functions
parser.hh File Reference
#include <tinyxml.h>
#include <string>
#include "sdf/SDFImpl.hh"
#include "sdf/system_util.hh"
Include dependency graph for parser.hh:

Go to the source code of this file.

Namespaces

 sdf
 namespace for Simulation Description Format parser
 

Functions

SDFORMAT_VISIBLE void sdf::addNestedModel (ElementPtr _sdf, ElementPtr _includeSDF)
 
SDFORMAT_VISIBLE void sdf::copyChildren (ElementPtr _sdf, TiXmlElement *_xml)
 
SDFORMAT_VISIBLE bool sdf::init (SDFPtr _sdf)
 Init based on the installed sdf_format.xml file. More...
 
SDFORMAT_VISIBLE bool sdf::initDoc (TiXmlDocument *_xmlDoc, SDFPtr _sdf)
 
SDFORMAT_VISIBLE bool sdf::initDoc (TiXmlDocument *_xmlDoc, ElementPtr _sdf)
 
SDFORMAT_VISIBLE bool sdf::initFile (const std::string &_filename, SDFPtr _sdf)
 
SDFORMAT_VISIBLE bool sdf::initFile (const std::string &_filename, ElementPtr _sdf)
 
SDFORMAT_VISIBLE bool sdf::initString (const std::string &_xmlString, SDFPtr _sdf)
 
SDFORMAT_VISIBLE bool sdf::initXml (TiXmlElement *_xml, ElementPtr _sdf)
 
SDFORMAT_VISIBLE bool sdf::readDoc (TiXmlDocument *_xmlDoc, SDFPtr _sdf, const std::string &_source)
 Populate the SDF values from a TinyXML document. More...
 
SDFORMAT_VISIBLE bool sdf::readDoc (TiXmlDocument *_xmlDoc, ElementPtr _sdf, const std::string &_source)
 
SDFORMAT_VISIBLE bool sdf::readFile (const std::string &_filename, SDFPtr _sdf)
 Populate the SDF values from a file. More...
 
SDFORMAT_VISIBLE bool sdf::readString (const std::string &_xmlString, SDFPtr _sdf)
 Populate the SDF values from a string. More...
 
SDFORMAT_VISIBLE bool sdf::readString (const std::string &_xmlString, ElementPtr _sdf)
 
SDFORMAT_VISIBLE bool sdf::readXml (TiXmlElement *_xml, ElementPtr _sdf)