Medical Imaging Interaction Toolkit
2016.11.0
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 |
virtual TiXmlElement * | Serialize () override |
Serializes given BaseData object. More... | |
virtual BaseProperty::Pointer | Deserialize (TiXmlElement *element) override |
Deserializes given TiXmlElement. More... | |
Public Member Functions inherited from mitk::BasePropertySerializer | |
mitkClassMacroItkParent (BasePropertySerializer, itk::Object) | |
virtual void | SetProperty (const BaseProperty *_arg) |
Static Public Member Functions | |
static Pointer | New () |
Protected Member Functions | |
LookupTablePropertySerializer () | |
virtual | ~LookupTablePropertySerializer () |
Protected Member Functions inherited from mitk::BasePropertySerializer | |
BasePropertySerializer () | |
virtual | ~BasePropertySerializer () |
Additional Inherited Members | |
Protected Attributes inherited from mitk::BasePropertySerializer | |
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 36 of file mitkLookupTablePropertySerializer.h.
|
inlineprotected |
Definition at line 53 of file mitkLookupTablePropertySerializer.h.
|
inlineprotectedvirtual |
Definition at line 54 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 93 of file mitkLookupTablePropertySerializer.cpp.
References MITK_ERROR, mitk::New(), 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 22 of file mitkLookupTablePropertySerializer.cpp.
References mitk::BasePropertySerializer::m_Property.