Medical Imaging Interaction Toolkit  2016.11.0
Medical Imaging Interaction Toolkit
mitk::SimulationSerializer Class Reference

#include <mitkSimulationSerializer.h>

Inheritance diagram for mitk::SimulationSerializer:
Collaboration diagram for mitk::SimulationSerializer:

Public Member Functions

 mitkClassMacro (SimulationSerializer, 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

 SimulationSerializer ()
 
 ~SimulationSerializer ()
 
- Protected Member Functions inherited from mitk::BaseDataSerializer
 BaseDataSerializer ()
 
virtual ~BaseDataSerializer ()
 
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

Definition at line 25 of file mitkSimulationSerializer.h.

Constructor & Destructor Documentation

mitk::SimulationSerializer::SimulationSerializer ( )
protected

Definition at line 23 of file mitkSimulationSerializer.cpp.

mitk::SimulationSerializer::~SimulationSerializer ( )
protected

Definition at line 27 of file mitkSimulationSerializer.cpp.

Member Function Documentation

Pointer mitk::SimulationSerializer::Clone ( ) const
mitk::SimulationSerializer::mitkClassMacro ( SimulationSerializer  ,
BaseDataSerializer   
)
static Pointer mitk::SimulationSerializer::New ( )
static
std::string mitk::SimulationSerializer::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.

Definition at line 31 of file mitkSimulationSerializer.cpp.

References filename, MITK_ERROR, and mitk::IOUtil::Save().


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