Medical Imaging Interaction Toolkit  2018.4.99-ae21cdc4
Medical Imaging Interaction Toolkit
mitk::ExampleDataStructureSerializer Class Reference

Serializes mitk::ExampleDataStructure for mitk::SceneIO. More...

#include <mitkExampleDataStructureSerializer.h>

Inheritance diagram for mitk::ExampleDataStructureSerializer:
Collaboration diagram for mitk::ExampleDataStructureSerializer:

Public Member Functions

 mitkClassMacro (ExampleDataStructureSerializer, BaseDataSerializer)
 
Pointer Clone () const
 
std::string Serialize () override
 Serializes given BaseData object. More...
 
- Public Member Functions inherited from mitk::BaseDataSerializer
 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)
 

Static Public Member Functions

static Pointer New ()
 

Protected Member Functions

 ExampleDataStructureSerializer ()
 
 ~ExampleDataStructureSerializer () override
 
- Protected Member Functions inherited from mitk::BaseDataSerializer
 BaseDataSerializer ()
 
 ~BaseDataSerializer () override
 
std::string GetUniqueFilenameInWorkingDirectory ()
 

Additional Inherited Members

- Protected Attributes inherited from mitk::BaseDataSerializer
std::string m_FilenameHint
 
std::string m_WorkingDirectory
 
BaseData::ConstPointer m_Data
 

Detailed Description

Constructor & Destructor Documentation

◆ ExampleDataStructureSerializer()

mitk::ExampleDataStructureSerializer::ExampleDataStructureSerializer ( )
protected

◆ ~ExampleDataStructureSerializer()

mitk::ExampleDataStructureSerializer::~ExampleDataStructureSerializer ( )
overrideprotected

Member Function Documentation

◆ Clone()

Pointer mitk::ExampleDataStructureSerializer::Clone ( ) const

◆ mitkClassMacro()

mitk::ExampleDataStructureSerializer::mitkClassMacro ( ExampleDataStructureSerializer  ,
BaseDataSerializer   
)

◆ New()

static Pointer mitk::ExampleDataStructureSerializer::New ( )
static

◆ Serialize()

std::string mitk::ExampleDataStructureSerializer::Serialize ( )
overridevirtual

Serializes given BaseData object.

Returns
the filename of the newly created file.

This should be overwritten by specific sub-classes.

Reimplemented from mitk::BaseDataSerializer.


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