Medical Imaging Interaction Toolkit
2024.06.99-60d9b802
Medical Imaging Interaction Toolkit
|
Go to the documentation of this file.
13 #ifndef mitkMimeTypeProvider_h
14 #define mitkMimeTypeProvider_h
60 typedef std::map<std::string, std::set<MimeType>> MapType;
61 MapType m_NameToMimeTypes;
63 std::map<std::string, MimeType> m_NameToMimeType;
static void Dispose(TrackedType &)
std::vector< MimeType > GetMimeTypesForFile(const std::string &filePath) const override
std::vector< std::string > GetCategories() const override
Get a sorted and unique list of mime-type categories.
static bool IsValid(const TrackedType &t)
std::vector< MimeType > GetMimeTypesForCategory(const std::string &category) const override
Find image slices visible on a given plane.
std::vector< MimeType > GetMimeTypes() const override
The IMimeTypeProvider service interface allows to query all registered mime types.
MimeType GetMimeTypeForName(const std::string &name) const override
static TrackedType DefaultValue()
~MimeTypeProvider() override
The MimeType class represents a registered mime-type. It is an immutable wrapper for mitk::CustomMime...