26 #ifndef CASADI_TINYXML_INTERFACE_HPP
27 #define CASADI_TINYXML_INTERFACE_HPP
40 #include "casadi/core/xml_file_internal.hpp"
41 #include <casadi/interfaces/tinyxml/casadi_xmlfile_tinyxml_export.h>
43 typedef tinyxml2::XMLNode TiXmlNode;
44 typedef tinyxml2::XMLDocument TiXmlDocument;
45 typedef tinyxml2::XMLElement TiXmlElement;
46 typedef tinyxml2::XMLAttribute TiXmlAttribute;
47 typedef tinyxml2::XMLError XMLError;
69 std::string
class_name()
const override {
return "TinyXmlInterface";}
78 XmlNode import_node(TiXmlNode* n);
81 void export_node(TiXmlNode* n,
const XmlNode& node);
'tinyxml' plugin for XmlFile
const char * plugin_name() const override
TiXmlDocument doc_
XML file.
static const std::string meta_doc
A documentation string.
static XmlFileInternal * creator()
Create a new XmlFile.
std::string class_name() const override
Readable name of the internal class.
std::string filename(const std::string &path)