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

#include <mitkFileWriterRegistry.h>

Public Types

typedef us::ServiceReference< IFileWriterWriterReference
 

Public Member Functions

 FileWriterRegistry ()
 
 ~FileWriterRegistry ()
 
IFileWriterGetWriter (const WriterReference &ref, us::ModuleContext *context=us::GetModuleContext())
 
std::vector< IFileWriter * > GetWriters (const BaseData *baseData, const std::string &mimeType, us::ModuleContext *context=us::GetModuleContext())
 
void UngetWriter (IFileWriter *writer)
 
void UngetWriters (const std::vector< IFileWriter * > &writers)
 

Static Public Member Functions

static std::vector< WriterReferenceGetReferences (const BaseData *baseData, us::ModuleContext *context=us::GetModuleContext())
 
static std::vector< WriterReferenceGetReferences (const BaseData *baseData, const std::string &mimeType, us::ModuleContext *context=us::GetModuleContext())
 

Detailed Description

Provides convenient access to mitk::IFileWriter instances and writing files from mitk::BaseData types.

Note
The life-time of all mitk::IFileWriter objects returned by an instance of this class ends with the destruction of that instance.

Definition at line 45 of file mitkFileWriterRegistry.h.

Member Typedef Documentation

Constructor & Destructor Documentation

mitk::FileWriterRegistry::FileWriterRegistry ( )

Definition at line 30 of file mitkFileWriterRegistry.cpp.

mitk::FileWriterRegistry::~FileWriterRegistry ( )

Definition at line 34 of file mitkFileWriterRegistry.cpp.

Member Function Documentation

std::vector< mitk::FileWriterRegistry::WriterReference > mitk::FileWriterRegistry::GetReferences ( const BaseData baseData,
us::ModuleContext *  context = us::GetModuleContext() 
)
static

Definition at line 42 of file mitkFileWriterRegistry.cpp.

std::vector< mitk::FileWriterRegistry::WriterReference > mitk::FileWriterRegistry::GetReferences ( const BaseData baseData,
const std::string &  mimeType,
us::ModuleContext *  context = us::GetModuleContext() 
)
static
mitk::IFileWriter * mitk::FileWriterRegistry::GetWriter ( const WriterReference ref,
us::ModuleContext *  context = us::GetModuleContext() 
)
std::vector< mitk::IFileWriter * > mitk::FileWriterRegistry::GetWriters ( const BaseData baseData,
const std::string &  mimeType,
us::ModuleContext *  context = us::GetModuleContext() 
)
void mitk::FileWriterRegistry::UngetWriter ( mitk::IFileWriter writer)

Definition at line 138 of file mitkFileWriterRegistry.cpp.

void mitk::FileWriterRegistry::UngetWriters ( const std::vector< IFileWriter * > &  writers)

Definition at line 149 of file mitkFileWriterRegistry.cpp.


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