Medical Imaging Interaction Toolkit
2024.06.99-60d9b802
Medical Imaging Interaction Toolkit
|
Base class for objects that serialize BaseProperty types. More...
#include <mitkBasePropertySerializer.h>
Public Member Functions | |
mitkClassMacroItkParent (BasePropertySerializer, itk::Object) | |
virtual void | SetProperty (const BaseProperty *_arg) |
virtual tinyxml2::XMLElement * | Serialize (tinyxml2::XMLDocument &doc) |
Serializes given BaseProperty object. More... | |
virtual BaseProperty::Pointer | Deserialize (const tinyxml2::XMLElement *) |
Deserializes given XML element. More... | |
Protected Member Functions | |
BasePropertySerializer () | |
~BasePropertySerializer () override | |
Protected Attributes | |
BaseProperty::ConstPointer | m_Property |
Base class for objects that serialize BaseProperty types.
The name of sub-classes must be deduced from the class name of the object that should be serialized. The serialization assumes that
If the class derived from BaseProperty is called GreenProperty Then the serializer for this class must be called GreenPropertySerializer
Definition at line 41 of file mitkBasePropertySerializer.h.
|
protected |
|
overrideprotected |
|
virtual |
Deserializes given XML element.
This should be overwritten by specific sub-classes.
Reimplemented in mitk::VectorPropertySerializer< DATATYPE >, mitk::LookupTablePropertySerializer, mitk::ScalarListLookupTablePropertySerializer, and mitk::TransferFunctionPropertySerializer.
mitk::BasePropertySerializer::mitkClassMacroItkParent | ( | BasePropertySerializer | , |
itk::Object | |||
) |
|
virtual |
Serializes given BaseProperty object.
This should be overwritten by specific sub-classes.
Reimplemented in mitk::VectorPropertySerializer< DATATYPE >, mitk::LookupTablePropertySerializer, mitk::ScalarListLookupTablePropertySerializer, mitk::TransferFunctionPropertySerializer, and mitk::EnumerationPropertySerializer.
|
virtual |
|
protected |
Definition at line 69 of file mitkBasePropertySerializer.h.