12 #ifndef mitkXMLSerializable_h
13 #define mitkXMLSerializable_h
16 #include <itkObject.h>
18 #include <MitkCameraCalibrationExports.h>
47 virtual const char* GetNameOfClass()
const = 0;
52 virtual void ToXML(tinyxml2::XMLElement* elem)
const = 0;
56 virtual void FromXML(
const tinyxml2::XMLElement* elem) = 0;
61 virtual void ToXMLFile(
const std::string& file
62 ,
const std::string& elemName=
"");
76 virtual void FromXMLFile(
const std::string& file
77 ,
const std::string& elemName=
"");
82 std::string GetXMLFileName()
const;
88 std::string m_XMLFileName;