Medical Imaging Interaction Toolkit  2022.04.99-2e1e005b
Medical Imaging Interaction Toolkit
mitkDICOMPMIOMimeTypes.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 MITKDICOMPMIOMIMETYPES_H
14 #define MITKDICOMPMIOMIMETYPES_H
15 
16 #include "mitkCustomMimeType.h"
17 #include <MitkDICOMPMIOExports.h>
18 
19 
20 #include <string>
21 
22 namespace mitk
23 {
26  {
27  public:
28 
33  {
34  public:
36  bool AppliesTo(const std::string &path) const override;
37  MitkDICOMPMMimeType *Clone() const override;
38  };
39 
40  static MitkDICOMPMMimeType DICOMPM_MIMETYPE();
41  static std::string DICOMPM_MIMETYPE_NAME();
42 
43 
44 
45  // Get all Mime Types
46  static std::vector<CustomMimeType *> Get();
47 
48  private:
49  // purposely not implemented
52  };
53 }
54 
55 #endif // MITKDICOMPMIOMIMETYPES_H
Provides the custom mime types for dicom qi objects loaded with DCMQI.
DataCollection - Class to facilitate loading/accessing structured data.
#define MITKDICOMPMIO_EXPORT
The CustomMimeType class represents a custom mime-type which may be registered as a service object...
MITKMULTILABELIO_EXPORT std::vector< CustomMimeType * > Get()