Medical Imaging Interaction Toolkit
2016.11.0
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 () | |
virtual | ~BaseDataSerializer () |
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 39 of file mitkBaseDataSerializer.h.
|
protected |
Definition at line 21 of file mitkBaseDataSerializer.cpp.
|
protectedvirtual |
Definition at line 25 of file mitkBaseDataSerializer.cpp.
|
virtual |
|
protected |
Definition at line 37 of file mitkBaseDataSerializer.cpp.
|
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::QBallImageSerializer, mitk::TensorImageSerializer, mitk::ConnectomicsNetworkSerializer, mitk::FiberBundleSerializer, mitk::PlanarFigureCompositeSerializer, mitk::LabelSetImageSerializer, mitk::ImageSerializer, mitk::SurfaceSerializer, mitk::SimulationSerializer, mitk::ExampleDataStructureSerializer, mitk::ContourModelSerializer, mitk::PlanarFigureSerializer, mitk::PointSetSerializer, mitk::VigraRandomForestClassifierSerializer, and mitk::ContourModelSetSerializer.
Definition at line 29 of file mitkBaseDataSerializer.cpp.
References MITK_INFO.
|
virtual |
|
virtual |
|
virtual |
|
protected |
Definition at line 68 of file mitkBaseDataSerializer.h.
|
protected |
Definition at line 66 of file mitkBaseDataSerializer.h.
|
protected |
Definition at line 67 of file mitkBaseDataSerializer.h.