Medical Imaging Interaction Toolkit
2023.12.00
Medical Imaging Interaction Toolkit
|
Base class for objects that serialize BaseData types. More...
#include <mitkBaseDataSerializer.h>
Public Member Functions | |
mitkClassMacroItkParent (BaseDataSerializer, itk::Object) | |
virtual void | SetFilenameHint (const char *_arg) |
virtual const char * | GetFilenameHint () const |
virtual void | SetWorkingDirectory (const char *_arg) |
virtual const char * | GetWorkingDirectory () const |
virtual void | SetData (const BaseData *_arg) |
virtual std::string | Serialize () |
Serializes given BaseData object. More... | |
Protected Member Functions | |
BaseDataSerializer () | |
~BaseDataSerializer () override | |
std::string | GetUniqueFilenameInWorkingDirectory () |
Protected Attributes | |
std::string | m_FilenameHint |
std::string | m_WorkingDirectory |
BaseData::ConstPointer | m_Data |
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 35 of file mitkBaseDataSerializer.h.
|
protected |
|
overrideprotected |
|
virtual |
|
protected |
|
virtual |
mitk::BaseDataSerializer::mitkClassMacroItkParent | ( | BaseDataSerializer | , |
itk::Object | |||
) |
|
virtual |
Serializes given BaseData object.
This should be overwritten by specific sub-classes.
Reimplemented in mitk::MAPRegistrationWrapperSerializer, mitk::GeometryDataSerializer, mitk::ExampleDataStructureSerializer, mitk::ImageSerializer, mitk::SurfaceSerializer, mitk::LabelSetImageSerializer, mitk::ContourModelSerializer, mitk::ContourModelSetSerializer, mitk::PlanarFigureSerializer, mitk::PointSetSerializer, mitk::SegmentationTaskListSerializer, and mitk::ROISerializer.
|
virtual |
|
virtual |
|
virtual |
|
protected |
Definition at line 64 of file mitkBaseDataSerializer.h.
|
protected |
Definition at line 62 of file mitkBaseDataSerializer.h.
|
protected |
Definition at line 63 of file mitkBaseDataSerializer.h.