Medical Imaging Interaction Toolkit
2016.11.0
Medical Imaging Interaction Toolkit
Home
Manual
API Reference
Download
Bugzilla
Groups
Namespace List
Class List
File List
Examples
File List
File Members
mitkIGTMimeTypes.cpp
Go to the documentation of this file.
1
/*===================================================================
2
3
The Medical Imaging Interaction Toolkit (MITK)
4
5
Copyright (c) German Cancer Research Center,
6
Division of Medical and Biological Informatics.
7
All rights reserved.
8
9
This software is distributed WITHOUT ANY WARRANTY; without
10
even the implied warranty of MERCHANTABILITY or FITNESS FOR
11
A PARTICULAR PURPOSE.
12
13
See LICENSE.txt or http://www.mitk.org for details.
14
15
===================================================================*/
16
17
// MITK
18
#include "
mitkIGTMimeTypes.h
"
19
20
mitk::CustomMimeType
mitk::IGTMimeTypes::NAVIGATIONDATASETXML_MIMETYPE
()
21
{
22
mitk::CustomMimeType
mimeType(
IOMimeTypes::DEFAULT_BASE_NAME
() +
".NavigationDataSet.xml"
);
23
std::string category =
"NavigationDataSet"
;
24
mimeType.
SetComment
(
"NavigationDataSet (XML)"
);
25
mimeType.
SetCategory
(category);
26
mimeType.
AddExtension
(
"xml"
);
27
return
mimeType;
28
}
29
30
mitk::CustomMimeType
mitk::IGTMimeTypes::NAVIGATIONDATASETCSV_MIMETYPE
()
31
{
32
mitk::CustomMimeType
mimeType(
IOMimeTypes::DEFAULT_BASE_NAME
() +
".NavigationDataSet.csv"
);
33
std::string category =
"NavigationDataSet"
;
34
mimeType.
SetComment
(
"NavigationDataSet (csv)"
);
35
mimeType.
SetCategory
(category);
36
mimeType.
AddExtension
(
"csv"
);
37
return
mimeType;
38
}
mitk::CustomMimeType::SetComment
void SetComment(const std::string &comment)
Definition:
mitkCustomMimeType.cpp:155
mitk::IGTMimeTypes::NAVIGATIONDATASETXML_MIMETYPE
static CustomMimeType NAVIGATIONDATASETXML_MIMETYPE()
Definition:
mitkIGTMimeTypes.cpp:20
mitk::CustomMimeType
The CustomMimeType class represents a custom mime-type which may be registered as a service object...
Definition:
mitkCustomMimeType.h:48
mitkIGTMimeTypes.h
mitk::IOMimeTypes::DEFAULT_BASE_NAME
static std::string DEFAULT_BASE_NAME()
Definition:
mitkIOMimeTypes.cpp:176
mitk::CustomMimeType::AddExtension
void AddExtension(const std::string &extension)
Definition:
mitkCustomMimeType.cpp:146
mitk::CustomMimeType::SetCategory
void SetCategory(const std::string &category)
Definition:
mitkCustomMimeType.cpp:139
mitk::IGTMimeTypes::NAVIGATIONDATASETCSV_MIMETYPE
static CustomMimeType NAVIGATIONDATASETCSV_MIMETYPE()
Definition:
mitkIGTMimeTypes.cpp:30
git
MITK
Modules
IGTBase
src
mitkIGTMimeTypes.cpp
Generated on Fri Feb 3 2017 20:52:00 for Medical Imaging Interaction Toolkit by
1.8.9.1