Medical Imaging Interaction Toolkit
2024.12.99-0da743f6
Medical Imaging Interaction Toolkit
|
#include <mitkFileWriterRegistry.h>
Public Types | |
typedef us::ServiceReference< IFileWriter > | WriterReference |
Public Member Functions | |
FileWriterRegistry () | |
~FileWriterRegistry () | |
IFileWriter * | GetWriter (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< WriterReference > | GetReferences (const BaseData *baseData, us::ModuleContext *context=us::GetModuleContext()) |
static std::vector< WriterReference > | GetReferences (const BaseData *baseData, const std::string &mimeType, us::ModuleContext *context=us::GetModuleContext()) |
Provides convenient access to mitk::IFileWriter instances and writing files from mitk::BaseData types.
Definition at line 41 of file mitkFileWriterRegistry.h.
Definition at line 44 of file mitkFileWriterRegistry.h.
mitk::FileWriterRegistry::FileWriterRegistry | ( | ) |
mitk::FileWriterRegistry::~FileWriterRegistry | ( | ) |
|
static |
|
static |
IFileWriter* mitk::FileWriterRegistry::GetWriter | ( | const WriterReference & | ref, |
us::ModuleContext * | context = us::GetModuleContext() |
||
) |
std::vector<IFileWriter *> mitk::FileWriterRegistry::GetWriters | ( | const BaseData * | baseData, |
const std::string & | mimeType, | ||
us::ModuleContext * | context = us::GetModuleContext() |
||
) |
void mitk::FileWriterRegistry::UngetWriter | ( | IFileWriter * | writer | ) |
void mitk::FileWriterRegistry::UngetWriters | ( | const std::vector< IFileWriter * > & | writers | ) |