Medical Imaging Interaction Toolkit
2016.11.0
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 TiXmlElement * | Serialize () |
Serializes given BaseProperty object. More... | |
virtual BaseProperty::Pointer | Deserialize (TiXmlElement *) |
Deserializes given TiXmlElement. More... | |
Protected Member Functions | |
BasePropertySerializer () | |
virtual | ~BasePropertySerializer () |
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 |
Definition at line 19 of file mitkBasePropertySerializer.cpp.
|
protectedvirtual |
Definition at line 23 of file mitkBasePropertySerializer.cpp.
|
virtual |
Deserializes given TiXmlElement.
This should be overwritten by specific sub-classes.
Reimplemented in mitk::OdfNormalizationMethodPropertySerializer, mitk::VectorPropertySerializer< DATATYPE >, mitk::OdfScaleByPropertySerializer, mitk::LookupTablePropertySerializer, and mitk::TransferFunctionPropertySerializer.
Definition at line 34 of file mitkBasePropertySerializer.cpp.
References MITK_ERROR.
Referenced by TestAllProperties().
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::EnumerationPropertySerializer, and mitk::TransferFunctionPropertySerializer.
Definition at line 27 of file mitkBasePropertySerializer.cpp.
References MITK_INFO.
Referenced by mitk::PlanarFigureWriter::GenerateData(), and TestAllProperties().
|
virtual |
Referenced by mitk::PlanarFigureWriter::GenerateData(), and TestAllProperties().
|
protected |
Definition at line 69 of file mitkBasePropertySerializer.h.
Referenced by mitk::TransferFunctionPropertySerializer::Serialize(), mitk::EnumerationPropertySerializer::Serialize(), and mitk::LookupTablePropertySerializer::Serialize().