13 #ifndef MITKFILEREADERWRITERBASE_H 14 #define MITKFILEREADERWRITERBASE_H 30 typedef std::map<std::string, us::Any>
Options;
106 #endif // MITKFILEREADERWRITERBASE_H std::string GetDescription() const
us::ServiceRegistration< CustomMimeType > RegisterMimeType(us::ModuleContext *context)
void SetDefaultOptions(const Options &defaultOptions)
std::string GetMimeTypePrefix() const
void RemoveProgressCallback(const ProgressCallback &callback)
Options GetOptions() const
void SetRanking(int ranking)
Set the service ranking for this file reader.
DataCollection - Class to facilitate loading/accessing structured data.
std::string m_MimeTypePrefix
void UnregisterMimeType()
us::Any GetOption(const std::string &name) const
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()
const CustomMimeType * GetMimeType() const
Options GetDefaultOptions() const
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...
MimeType GetRegisteredMimeType() const
std::map< std::string, us::Any > Options
Options m_Options
Options supported by this reader. Set sensible default values!
std::string m_Description
void SetMimeType(const CustomMimeType &mimeType)
std::unique_ptr< CustomMimeType > m_CustomMimeType
void AddProgressCallback(const ProgressCallback &callback)