Medical Imaging Interaction Toolkit
2024.06.00
Medical Imaging Interaction Toolkit
|
Go to the documentation of this file.
13 #ifndef mitkAbstractFileIO_h
14 #define mitkAbstractFileIO_h
41 IFileReader *Clone()
const override {
return ReaderClone(); }
52 const std::string &description)
59 IFileWriter *Clone()
const override {
return WriterClone(); }
62 #endif // DOXYGEN_SKIP
72 Options GetReaderOptions()
const;
73 us::Any GetReaderOption(
const std::string &name)
const;
75 void SetReaderOptions(
const Options &options);
76 void SetReaderOption(
const std::string &name,
const us::Any &value);
78 Options GetWriterOptions()
const;
79 us::Any GetWriterOption(
const std::string &name)
const;
81 void SetWriterOptions(
const Options &options);
82 void SetWriterOption(
const std::string &name,
const us::Any &value);
112 const std::string &description);
121 void SetReaderDescription(
const std::string &description);
122 std::string GetReaderDescription()
const;
124 void SetWriterDescription(
const std::string &description);
125 std::string GetWriterDescription()
const;
127 void SetDefaultReaderOptions(
const Options &defaultOptions);
128 Options GetDefaultReaderOptions()
const;
130 void SetDefaultWriterOptions(
const Options &defaultOptions);
131 Options GetDefaultWriterOptions()
const;
143 void SetReaderRanking(
int ranking);
144 int GetReaderRanking()
const;
146 void SetWriterRanking(
int ranking);
147 int GetWriterRanking()
const;
ConfidenceLevel GetConfidenceLevel() const override
The confidence level of the reader or writer implementation.
std::map< std::string, us::Any > Options
Options for reading or writing data.
AbstractFileIOWriter(const std::string &baseDataType, const CustomMimeType &mimeType, const std::string &description)
virtual ConfidenceLevel GetReaderConfidenceLevel() const
Base class for creating mitk::BaseData objects from files or streams.
The CustomMimeType class represents a custom mime-type which may be registered as a service object....
static ModuleContext * GetModuleContext()
Returns the module context of the calling module.
virtual ConfidenceLevel GetWriterConfidenceLevel() const
AbstractFileIOWriter(const std::string &baseDataType)
Base class for writing mitk::BaseData objects to files or streams.
Find image slices visible on a given plane.
The common interface for all MITK file readers.
ConfidenceLevel GetConfidenceLevel() const override
The confidence level of the reader or writer implementation.
The common interface of all MITK file writers.
ConfidenceLevel GetConfidenceLevel() const override
The confidence level of the reader or writer implementation.
AbstractFileIOReader(const CustomMimeType &mimeType, const std::string &description)
ConfidenceLevel GetConfidenceLevel() const override
The confidence level of the reader or writer implementation.
ConfidenceLevel
A confidence level describing the confidence of the reader or writer in handling the given data.
Abstract class for implementing a reader and writer.