13 #ifndef mitkBasePropertySerializer_h
14 #define mitkBasePropertySerializer_h
20 #include <itkObjectFactoryBase.h>
71 virtual tinyxml2::XMLElement *
Serialize(tinyxml2::XMLDocument& doc);
83 virtual BaseProperty::Pointer
Deserialize(
const tinyxml2::XMLElement* element);
#define MITKSCENESERIALIZATIONBASE_EXPORT
Base class for objects that serialize and deserialize BaseProperty types to/from XML.
mitkClassMacroItkParent(BasePropertySerializer, itk::Object)
~BasePropertySerializer() override
virtual BaseProperty::Pointer Deserialize(const tinyxml2::XMLElement *element)
Deserializes an XML element back into a BaseProperty object.
BaseProperty::ConstPointer m_Property
virtual tinyxml2::XMLElement * Serialize(tinyxml2::XMLDocument &doc)
Serializes the previously set BaseProperty object into an XML element.
Abstract base class for properties.
Provides the MITK_REGISTER_SERIALIZER macro for automatic registration of serializer classes.
Find image slices visible on a given plane.