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

Serializes mitk::ConnectomicsNetwork for mitk::SceneIO. More...

#include <mitkConnectomicsNetworkSerializer.h>

Inheritance diagram for mitk::ConnectomicsNetworkSerializer:
Collaboration diagram for mitk::ConnectomicsNetworkSerializer:

Public Member Functions

 mitkClassMacro (ConnectomicsNetworkSerializer, BaseDataSerializer)
 
Pointer Clone () const
 
virtual 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

 ConnectomicsNetworkSerializer ()
 
virtual ~ConnectomicsNetworkSerializer ()
 
- 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

Constructor & Destructor Documentation

mitk::ConnectomicsNetworkSerializer::ConnectomicsNetworkSerializer ( )
protected

Definition at line 27 of file mitkConnectomicsNetworkSerializer.cpp.

mitk::ConnectomicsNetworkSerializer::~ConnectomicsNetworkSerializer ( )
protectedvirtual

Definition at line 32 of file mitkConnectomicsNetworkSerializer.cpp.

Member Function Documentation

Pointer mitk::ConnectomicsNetworkSerializer::Clone ( ) const
mitk::ConnectomicsNetworkSerializer::mitkClassMacro ( ConnectomicsNetworkSerializer  ,
BaseDataSerializer   
)
static Pointer mitk::ConnectomicsNetworkSerializer::New ( )
static
std::string mitk::ConnectomicsNetworkSerializer::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 37 of file mitkConnectomicsNetworkSerializer.cpp.

References filename, MITK_ERROR, mitk::AbstractFileWriter::SetInput(), mitk::AbstractFileWriter::SetOutputLocation(), and mitk::ConnectomicsNetworkWriter::Write().


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