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.
std::shared_ptr< SDF > SDFPtr
Definition: SDFImpl.hh:46
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.
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)
SDFORMAT_VISIBLE void copyChildren(ElementPtr _sdf, TiXmlElement *_xml)
SDFORMAT_VISIBLE bool readXml(TiXmlElement *_xml, ElementPtr _sdf)
std::shared_ptr< Element > ElementPtr
Definition: Element.hh:53
SDFORMAT_VISIBLE bool initXml(TiXmlElement *_xml, ElementPtr _sdf)
SDFORMAT_VISIBLE bool initDoc(TiXmlDocument *_xmlDoc, SDFPtr _sdf)