16 #ifndef MITKXMLSerializable_H
17 #define MITKXMLSerializable_H
21 #include <itkObject.h>
23 #include <MitkCameraCalibrationExports.h>
47 virtual const char* GetNameOfClass()
const = 0;
52 virtual void ToXML(TiXmlElement* elem)
const = 0;
56 virtual void FromXML(TiXmlElement* 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;
DataCollection - Class to facilitate loading/accessing structured data.
static const std::string ROOT_NAME
static const std::string FILE_REFERENCE_ATTRIBUTE_NAME
interface for all classes able to write themselves to XML files