Medical Imaging Interaction Toolkit  2023.12.99-77685e7b
Medical Imaging Interaction Toolkit
mitk::LookupTablePropertySerializer Class Reference

Base class for objects that serialize BaseData types. More...

#include <mitkLookupTablePropertySerializer.h>

Inheritance diagram for mitk::LookupTablePropertySerializer:
Collaboration diagram for mitk::LookupTablePropertySerializer:

Public Member Functions

 mitkClassMacro (LookupTablePropertySerializer, BasePropertySerializer) static Pointer New()
 
Pointer Clone () const
 
tinyxml2::XMLElement * Serialize (tinyxml2::XMLDocument &doc) override
 Serializes given BaseData object. More...
 
BaseProperty::Pointer Deserialize (const tinyxml2::XMLElement *element) override
 Deserializes given XML element. More...
 
- Public Member Functions inherited from mitk::BasePropertySerializer
 mitkClassMacroItkParent (BasePropertySerializer, itk::Object)
 
virtual void SetProperty (const BaseProperty *_arg)
 

Protected Member Functions

 LookupTablePropertySerializer ()
 
 ~LookupTablePropertySerializer () override
 
- Protected Member Functions inherited from mitk::BasePropertySerializer
 BasePropertySerializer ()
 
 ~BasePropertySerializer () override
 

Additional Inherited Members

- Protected Attributes inherited from mitk::BasePropertySerializer
BaseProperty::ConstPointer m_Property
 

Detailed Description

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.

Constructor & Destructor Documentation

◆ LookupTablePropertySerializer()

mitk::LookupTablePropertySerializer::LookupTablePropertySerializer ( )
inlineprotected

Definition at line 50 of file mitkLookupTablePropertySerializer.h.

◆ ~LookupTablePropertySerializer()

mitk::LookupTablePropertySerializer::~LookupTablePropertySerializer ( )
inlineoverrideprotected

Definition at line 51 of file mitkLookupTablePropertySerializer.h.

Member Function Documentation

◆ Clone()

Pointer mitk::LookupTablePropertySerializer::Clone ( ) const

◆ Deserialize()

BaseProperty::Pointer mitk::LookupTablePropertySerializer::Deserialize ( const tinyxml2::XMLElement *  )
overridevirtual

Deserializes given XML element.

Returns
The deserialized Property.

This should be overwritten by specific sub-classes.

Reimplemented from mitk::BasePropertySerializer.

◆ mitkClassMacro()

mitk::LookupTablePropertySerializer::mitkClassMacro ( LookupTablePropertySerializer  ,
BasePropertySerializer   
)

◆ Serialize()

tinyxml2::XMLElement* mitk::LookupTablePropertySerializer::Serialize ( tinyxml2::XMLDocument &  doc)
overridevirtual

Serializes given BaseData object.

Returns
the filename of the newly created file.

This should be overwritten by specific sub-classes.

Reimplemented from mitk::BasePropertySerializer.


The documentation for this class was generated from the following file: