Medical Imaging Interaction Toolkit
2016.11.0
Medical Imaging Interaction Toolkit
|
The IMimeTypeProvider service interface allows to query all registered mime types. More...
#include <mitkIMimeTypeProvider.h>
Public Member Functions | |
virtual | ~IMimeTypeProvider () |
virtual std::vector< MimeType > | GetMimeTypes () const =0 |
virtual std::vector< MimeType > | GetMimeTypesForFile (const std::string &filePath) const =0 |
virtual std::vector< MimeType > | GetMimeTypesForCategory (const std::string &category) const =0 |
virtual MimeType | GetMimeTypeForName (const std::string &name) const =0 |
virtual std::vector< std::string > | GetCategories () const =0 |
Get a sorted and unique list of mime-type categories. More... | |
The IMimeTypeProvider service interface allows to query all registered mime types.
IO
Mime types are added to the system by registering a service object of type CustomMimeType and the registered mime types can be queried bei either using direct look-ups in the service registry or calling the methods of this service interface.
This service interface also allows to infer the mime type of a file on the file system. The heuristics for infering the actual mime type is implementation specific.
Definition at line 50 of file mitkIMimeTypeProvider.h.
|
virtual |
Definition at line 21 of file mitkIMimeTypeProvider.cpp.
|
pure virtual |
Get a sorted and unique list of mime-type categories.
Implemented in mitk::MimeTypeProvider.
Referenced by QmitkIOUtil::GetFileOpenFilterString().
|
pure virtual |
Implemented in mitk::MimeTypeProvider.
Referenced by mitk::FileWriterSelector::FileWriterSelector(), and mitk::IOUtil::Save().
|
pure virtual |
Implemented in mitk::MimeTypeProvider.
|
pure virtual |
Implemented in mitk::MimeTypeProvider.
Referenced by QmitkIOUtil::GetFileOpenFilterString(), and mitk::USImageLoggingFilter::SetImageFilesExtension().
|
pure virtual |