Medical Imaging Interaction Toolkit  2016.11.0
Medical Imaging Interaction Toolkit
mitk::MimeTypeProvider Class Reference

#include <mitkMimeTypeProvider.h>

Inheritance diagram for mitk::MimeTypeProvider:
Collaboration diagram for mitk::MimeTypeProvider:

Public Member Functions

 MimeTypeProvider ()
 
 ~MimeTypeProvider ()
 
void Start ()
 
void Stop ()
 
virtual std::vector< MimeTypeGetMimeTypes () const override
 
virtual std::vector< MimeTypeGetMimeTypesForFile (const std::string &filePath) const override
 
virtual std::vector< MimeTypeGetMimeTypesForCategory (const std::string &category) const override
 
virtual MimeType GetMimeTypeForName (const std::string &name) const override
 
virtual std::vector< std::string > GetCategories () const override
 Get a sorted and unique list of mime-type categories. More...
 
- Public Member Functions inherited from mitk::IMimeTypeProvider
virtual ~IMimeTypeProvider ()
 

Detailed Description

Definition at line 39 of file mitkMimeTypeProvider.h.

Constructor & Destructor Documentation

mitk::MimeTypeProvider::MimeTypeProvider ( )

Definition at line 33 of file mitkMimeTypeProvider.cpp.

mitk::MimeTypeProvider::~MimeTypeProvider ( )

Definition at line 34 of file mitkMimeTypeProvider.cpp.

Member Function Documentation

std::vector< std::string > mitk::MimeTypeProvider::GetCategories ( ) const
overridevirtual

Get a sorted and unique list of mime-type categories.

Returns
A sorted, unique list of mime-type categories.

Implements mitk::IMimeTypeProvider.

Definition at line 91 of file mitkMimeTypeProvider.cpp.

MimeType mitk::MimeTypeProvider::GetMimeTypeForName ( const std::string &  name) const
overridevirtual

Implements mitk::IMimeTypeProvider.

Definition at line 83 of file mitkMimeTypeProvider.cpp.

std::vector< MimeType > mitk::MimeTypeProvider::GetMimeTypes ( ) const
overridevirtual

Implements mitk::IMimeTypeProvider.

Definition at line 45 of file mitkMimeTypeProvider.cpp.

std::vector< MimeType > mitk::MimeTypeProvider::GetMimeTypesForCategory ( const std::string &  category) const
overridevirtual

Implements mitk::IMimeTypeProvider.

Definition at line 70 of file mitkMimeTypeProvider.cpp.

std::vector< MimeType > mitk::MimeTypeProvider::GetMimeTypesForFile ( const std::string &  filePath) const
overridevirtual

Implements mitk::IMimeTypeProvider.

Definition at line 55 of file mitkMimeTypeProvider.cpp.

void mitk::MimeTypeProvider::Start ( )

Definition at line 35 of file mitkMimeTypeProvider.cpp.

References us::GetModuleContext().

void mitk::MimeTypeProvider::Stop ( )

Definition at line 44 of file mitkMimeTypeProvider.cpp.


The documentation for this class was generated from the following files: