17 #ifndef MITKABSTRACTFILEIO_H
18 #define MITKABSTRACTFILEIO_H
45 IFileReader *Clone()
const override {
return ReaderClone(); }
56 const std::string &description)
63 IFileWriter *Clone()
const override {
return WriterClone(); }
66 #endif // DOXYGEN_SKIP
76 Options GetReaderOptions()
const;
77 us::Any GetReaderOption(
const std::string &name)
const;
79 void SetReaderOptions(
const Options &options);
80 void SetReaderOption(
const std::string &name,
const us::Any &value);
82 Options GetWriterOptions()
const;
83 us::Any GetWriterOption(
const std::string &name)
const;
85 void SetWriterOptions(
const Options &options);
86 void SetWriterOption(
const std::string &name,
const us::Any &value);
115 const std::string &description);
124 void SetReaderDescription(
const std::string &description);
125 std::string GetReaderDescription()
const;
127 void SetWriterDescription(
const std::string &description);
128 std::string GetWriterDescription()
const;
130 void SetDefaultReaderOptions(
const Options &defaultOptions);
131 Options GetDefaultReaderOptions()
const;
133 void SetDefaultWriterOptions(
const Options &defaultOptions);
134 Options GetDefaultWriterOptions()
const;
146 void SetReaderRanking(
int ranking);
147 int GetReaderRanking()
const;
149 void SetWriterRanking(
int ranking);
150 int GetWriterRanking()
const;
162 #endif // MITKABSTRACTFILEIO_H
virtual ConfidenceLevel GetConfidenceLevel() const override
The confidence level of the reader or writer implementation.
DataCollection - Class to facilitate loading/accessing structured data.
std::map< std::string, us::Any > Options
Options for reading or writing data.
virtual ConfidenceLevel GetConfidenceLevel() const override
The confidence level of the reader or writer implementation.
virtual ConfidenceLevel GetConfidenceLevel() const override
The confidence level of the reader or writer implementation.
virtual ConfidenceLevel GetConfidenceLevel() const override
The confidence level of the reader or writer implementation.
The CustomMimeType class represents a custom mime-type which may be registered as a service object...
AbstractFileIOWriter(const std::string &baseDataType)
AbstractFileIOReader(const CustomMimeType &mimeType, const std::string &description)
Base class for creating mitk::BaseData objects from files or streams.
virtual ConfidenceLevel GetReaderConfidenceLevel() const
ConfidenceLevel
A confidence level describing the confidence of the reader or writer in handling the given data...
The common interface for all MITK file readers.
The common interface of all MITK file writers.
Abstract class for implementing a reader and writer.
Base class for writing mitk::BaseData objects to files or streams.
static ModuleContext * GetModuleContext()
Returns the module context of the calling module.
virtual ConfidenceLevel GetWriterConfidenceLevel() const
AbstractFileIOWriter(const std::string &baseDataType, const CustomMimeType &mimeType, const std::string &description)