Medical Imaging Interaction Toolkit  2025.12.02
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 "mitkIOMimeTypes.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 
48  {
49  public:
51  bool AppliesTo(const std::string& path) const override;
53  };
54 
56  static std::string CEST_DICOM_WITH_META_FILE_NAME();
57 
65  {
66  public:
68  bool AppliesTo(const std::string& path) const override;
70  };
71 
73  static std::string CEST_DICOM_WITHOUT_META_FILE_NAME();
74 
75  // Get all Mime Types
76  static std::vector<CustomMimeType *> Get();
77 
78  private:
79  // purposely not implemented
82  };
83 }
84 
85 #endif
MitkCESTDicomMimeType * Clone() const override
bool AppliesTo(const std::string &path) const override
Checks if the MimeType can handle file at the given location.
MitkCESTDicomWOMetaFileMimeType * Clone() const override
bool AppliesTo(const std::string &path) const override
Checks if the MimeType can handle file at the given location.
MitkCESTDicomWithMetaFileMimeType * Clone() const override
bool AppliesTo(const std::string &path) const override
Checks if the MimeType can handle file at the given location.
Provides the custom mime types for MitkCEST.
static MitkCESTDicomWOMetaFileMimeType CEST_DICOM_WITHOUT_META_FILE_MIMETYPE()
static MitkCESTDicomWithMetaFileMimeType CEST_DICOM_WITH_META_FILE_MIMETYPE()
static std::string CEST_DICOM_WITH_META_FILE_NAME()
static MitkCESTDicomMimeType CEST_DICOM_MIMETYPE()
static std::vector< CustomMimeType * > Get()
static std::string CEST_DICOM_WITHOUT_META_FILE_NAME()
static std::string CEST_DICOM_MIMETYPE_NAME()
Find image slices visible on a given plane.