17 #ifndef _SDF_PARSER_HH_
18 #define _SDF_PARSER_HH_
71 bool readDoc(TiXmlDocument *_xmlDoc,
SDFPtr _sdf,
const std::string &_source);
75 const std::string &_source);
SDFORMAT_VISIBLE bool readDoc(TiXmlDocument *_xmlDoc, SDFPtr _sdf, const std::string &_source)
Populate the SDF values from a TinyXML document.
Element * ElementPtr
Definition: SDFImpl.hh:42
SDFORMAT_VISIBLE bool readFile(const std::string &_filename, SDFPtr _sdf)
Populate the SDF values from a file.
SDFORMAT_VISIBLE bool init(SDFPtr _sdf)
Init based on the installed sdf_format.xml file.
SDF * SDFPtr
Definition: SDFImpl.hh:38
SDFORMAT_VISIBLE bool initString(const std::string &_xmlString, SDFPtr _sdf)
SDFORMAT_VISIBLE bool initFile(const std::string &_filename, SDFPtr _sdf)
SDFORMAT_VISIBLE bool readString(const std::string &_xmlString, SDFPtr _sdf)
Populate the SDF values from a string.
#define SDFORMAT_VISIBLE
Use to represent "symbol visible" if supported.
Definition: system_util.hh:48
SDFORMAT_VISIBLE void addNestedModel(ElementPtr _sdf, ElementPtr _includeSDF)
namespace for Simulation Description Format parser
Definition: Console.hh:29
SDFORMAT_VISIBLE void copyChildren(ElementPtr _sdf, TiXmlElement *_xml)
SDFORMAT_VISIBLE bool readXml(TiXmlElement *_xml, ElementPtr _sdf)
SDFORMAT_VISIBLE bool initXml(TiXmlElement *_xml, ElementPtr _sdf)
SDFORMAT_VISIBLE bool initDoc(TiXmlDocument *_xmlDoc, SDFPtr _sdf)