Medical Imaging Interaction Toolkit
2018.4.99-389bf124
Medical Imaging Interaction Toolkit
|
Base class for objects that serialize BaseData types. More...
#include <mitkLookupTablePropertySerializer.h>
Public Member Functions | |
mitkClassMacro (LookupTablePropertySerializer, BasePropertySerializer) | |
Pointer | Clone () const |
TiXmlElement * | Serialize () override |
Serializes given BaseData object. More... | |
BaseProperty::Pointer | Deserialize (TiXmlElement *element) override |
Deserializes given TiXmlElement. More... | |
![]() | |
mitkClassMacroItkParent (BasePropertySerializer, itk::Object) | |
virtual void | SetProperty (const BaseProperty *_arg) |
Static Public Member Functions | |
static Pointer | New () |
Protected Member Functions | |
LookupTablePropertySerializer () | |
~LookupTablePropertySerializer () override | |
![]() | |
BasePropertySerializer () | |
~BasePropertySerializer () override | |
Additional Inherited Members | |
![]() | |
BaseProperty::ConstPointer | m_Property |
Base class for objects that serialize BaseData 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 BaseData is called GreenData Then the serializer for this class must be called GreenDataSerializer
Definition at line 32 of file mitkLookupTablePropertySerializer.h.
|
inlineprotected |
Definition at line 50 of file mitkLookupTablePropertySerializer.h.
|
inlineoverrideprotected |
Definition at line 51 of file mitkLookupTablePropertySerializer.h.
Pointer mitk::LookupTablePropertySerializer::Clone | ( | ) | const |
|
overridevirtual |
Deserializes given TiXmlElement.
This should be overwritten by specific sub-classes.
Reimplemented from mitk::BasePropertySerializer.
Definition at line 89 of file mitkLookupTablePropertySerializer.cpp.
References MITK_ERROR, mitk::LookupTable::New(), and mitk::LookupTableProperty::New().
mitk::LookupTablePropertySerializer::mitkClassMacro | ( | LookupTablePropertySerializer | , |
BasePropertySerializer | |||
) |
|
static |
|
overridevirtual |
Serializes given BaseData object.
This should be overwritten by specific sub-classes.
Reimplemented from mitk::BasePropertySerializer.
Definition at line 18 of file mitkLookupTablePropertySerializer.cpp.
References mitk::BasePropertySerializer::m_Property.