Medical Imaging Interaction Toolkit
2018.4.99-389bf124
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 () | |
~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 37 of file mitkBasePropertySerializer.h.
|
protected |
Definition at line 15 of file mitkBasePropertySerializer.cpp.
|
overrideprotected |
Definition at line 19 of file mitkBasePropertySerializer.cpp.
|
virtual |
Deserializes given TiXmlElement.
This should be overwritten by specific sub-classes.
Reimplemented in mitk::VectorPropertySerializer< DATATYPE >, mitk::LookupTablePropertySerializer, mitk::ScalarListLookupTablePropertySerializer, and mitk::TransferFunctionPropertySerializer.
Definition at line 30 of file mitkBasePropertySerializer.cpp.
References MITK_ERROR.
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::EnumerationPropertySerializer, and mitk::TransferFunctionPropertySerializer.
Definition at line 23 of file mitkBasePropertySerializer.cpp.
References m_Property, and MITK_INFO.
|
virtual |
|
protected |
Definition at line 65 of file mitkBasePropertySerializer.h.
Referenced by mitk::TransferFunctionPropertySerializer::Serialize(), mitk::EnumerationPropertySerializer::Serialize(), mitk::ScalarListLookupTablePropertySerializer::Serialize(), mitk::LookupTablePropertySerializer::Serialize(), and Serialize().