Medical Imaging Interaction Toolkit  2018.4.99-389bf124
Medical Imaging Interaction Toolkit
mitkCESTIOMimeTypes.h
Go to the documentation of this file.
1 /*============================================================================
2 
3 The Medical Imaging Interaction Toolkit (MITK)
4 
5 Copyright (c) German Cancer Research Center (DKFZ)
6 All rights reserved.
7 
8 Use of this source code is governed by a 3-clause BSD license that can be
9 found in the LICENSE file.
10 
11 ============================================================================*/
12 
13 #ifndef MITKCESTIOMIMETYPES_H
14 #define MITKCESTIOMIMETYPES_H
15 
16 #include "mitkCustomMimeType.h"
17 
18 #include <string>
19 
20 namespace mitk
21 {
24  {
25  public:
32  {
33  public:
35  bool AppliesTo(const std::string &path) const override;
36  MitkCESTDicomMimeType *Clone() const override;
37  };
38 
40  static std::string CEST_DICOM_MIMETYPE_NAME();
41 
42  // Get all Mime Types
43  static std::vector<CustomMimeType *> Get();
44 
45  private:
46  // purposely not implemented
49  };
50 }
51 
52 #endif // MITKCESTIOMIMETYPES_H
Provides the custom mime types for MitkCEST.
static MitkCESTDicomMimeType CEST_DICOM_MIMETYPE()
DataCollection - Class to facilitate loading/accessing structured data.
bool AppliesTo(const std::string &path) const override
Checks if the MimeType can handle file at the given location.
The CustomMimeType class represents a custom mime-type which may be registered as a service object...
static std::string CEST_DICOM_MIMETYPE_NAME()
static std::vector< CustomMimeType * > Get()
MitkCESTDicomMimeType * Clone() const override