17 #ifndef SDF_PARSER_PRIVATE_HH_
18 #define SDF_PARSER_PRIVATE_HH_
36 std::string &_modelFileName);
48 bool readDoc(TiXmlDocument *_xmlDoc,
SDFPtr _sdf,
const std::string &_source,
49 bool _convert =
true);
52 const std::string &_source,
bool _convert =
true);
std::shared_ptr< SDF > SDFPtr
Definition: SDFImpl.hh:44
bool initXml(TiXmlElement *_xml, ElementPtr _sdf)
For internal use only. Do not use this function.
void copyChildren(ElementPtr _sdf, TiXmlElement *_xml)
bool readDoc(TiXmlDocument *_xmlDoc, SDFPtr _sdf, const std::string &_source, bool _convert=true)
Populate the SDF values from a TinyXML document.
bool readXml(TiXmlElement *_xml, ElementPtr _sdf)
For internal use only. Do not use this function.
bool initDoc(TiXmlDocument *_xmlDoc, SDFPtr _sdf)
Initialize the SDF interface using a TinyXML document.
std::string getBestSupportedModelVersion(TiXmlElement *_modelXML, std::string &_modelFileName)
Get the best SDF version from models supported by this sdformat.
std::shared_ptr< Element > ElementPtr
Definition: Element.hh:45