17 #ifndef _SDF_CONVERTER_HH_
18 #define _SDF_CONVERTER_HH_
32 public:
static bool Convert(TiXmlDocument *_doc,
33 const std::string &_toVersion,
42 public:
static void Convert(TiXmlDocument *_doc,
43 TiXmlDocument *_convertDoc);
46 private:
static void ConvertImpl(TiXmlElement *_elem,
47 TiXmlElement *_convert);
54 private:
static void Rename(TiXmlElement *_elem,
55 TiXmlElement *_renameElem);
62 private:
static void Move(TiXmlElement *_elem,
63 TiXmlElement *_moveElem);
65 private:
static const char *GetValue(
const char *_valueElem,
66 const char *_valueAttr,
69 private:
static void CheckDeprecation(TiXmlElement *_elem,
70 TiXmlElement *_convert);
Convert from one version of SDF to another.
Definition: Converter.hh:26
static bool Convert(TiXmlDocument *_doc, const std::string &_toVersion, bool _quiet=false)
Convert SDF to the specified version.