17 #ifndef MITKFILEREADERWRITERBASE_H
18 #define MITKFILEREADERWRITERBASE_H
34 typedef std::map<std::string, us::Any>
Options;
110 #endif // MITKFILEREADERWRITERBASE_H
us::ServiceRegistration< CustomMimeType > RegisterMimeType(us::ModuleContext *context)
void SetDefaultOptions(const Options &defaultOptions)
Options GetOptions() const
void RemoveProgressCallback(const ProgressCallback &callback)
std::string GetDescription() const
std::string GetMimeTypePrefix() const
void SetRanking(int ranking)
Set the service ranking for this file reader.
Options GetDefaultOptions() const
DataCollection - Class to facilitate loading/accessing structured data.
std::string m_MimeTypePrefix
void UnregisterMimeType()
us::ServiceRegistration< CustomMimeType > m_MimeTypeReg
void SetMimeTypePrefix(const std::string &prefix)
void SetDescription(const std::string &description)
The CustomMimeType class represents a custom mime-type which may be registered as a service object...
void SetOptions(const Options &options)
virtual ~FileReaderWriterBase()
void SetOption(const std::string &name, const us::Any &value)
mitk::MessageAbstractDelegate1< float > ProgressCallback
Message1< float > m_ProgressMessage
The MimeType class represens a registered mime-type. It is an immutable wrapper for mitk::CustomMimeT...
std::map< std::string, us::Any > Options
us::Any GetOption(const std::string &name) const
const CustomMimeType * GetMimeType() const
Options m_Options
Options supported by this reader. Set sensible default values!
MimeType GetRegisteredMimeType() const
std::string m_Description
void SetMimeType(const CustomMimeType &mimeType)
std::unique_ptr< CustomMimeType > m_CustomMimeType
void AddProgressCallback(const ProgressCallback &callback)