GDCM
2.2.0
Main Page
Related Pages
Namespaces
Classes
Files
Examples
File List
File Members
Source
MessageExchangeDefinition
gdcmQueryFactory.h
Go to the documentation of this file.
1
/*=========================================================================
2
*
3
* Copyright Insight Software Consortium
4
*
5
* Licensed under the Apache License, Version 2.0 (the "License");
6
* you may not use this file except in compliance with the License.
7
* You may obtain a copy of the License at
8
*
9
* http://www.apache.org/licenses/LICENSE-2.0.txt
10
*
11
* Unless required by applicable law or agreed to in writing, software
12
* distributed under the License is distributed on an "AS IS" BASIS,
13
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
* See the License for the specific language governing permissions and
15
* limitations under the License.
16
*
17
*=========================================================================*/
18
#ifndef GDCMQUERYFACTORY_H
19
#define GDCMQUERYFACTORY_H
20
21
#include "
gdcmBaseRootQuery.h
"
22
23
namespace
gdcm{
27
enum
ECharSet
{
28
eLatin1
= 0,
29
eLatin2
,
30
eLatin3
,
31
eLatin4
,
32
eCyrillic
,
33
eArabic
,
34
eGreek
,
35
eHebrew
,
36
eLatin5
,
// Latin Alphabet No. 5 (Turkish) Extended
37
eJapanese
,
// JIS X 0201 (Shift JIS) Extended
38
eThai
,
// TIS 620-2533 (Thai) Extended
39
eJapaneseKanjiMultibyte
,
// JIS X 0208 (Kanji) Extended
40
eJapaneseSupplementaryKanjiMultibyte
,
// JIS X 0212 (Kanji) Extended
41
eKoreanHangulHanjaMultibyte
,
// KS X 1001 (Hangul and Hanja) Extended
42
eUTF8
,
43
eGB18030
// Chinese (Simplified) Extended
44
};
45
58
class
GDCM_EXPORT
QueryFactory
59
{
60
public
:
66
static
BaseRootQuery
* ProduceQuery(
ERootType
inRootType,
EQueryType
inQueryType,
67
EQueryLevel
inQueryLevel);
68
76
static
DataElement
ProduceCharacterSetDataElement(
77
const
std::vector<ECharSet>& inCharSetType);
78
81
static
ECharSet
GetCharacterFromCurrentLocale();
82
84
static
void
ListCharSets(std::ostream& os);
85
};
86
87
}
// end namespace gdcm
88
89
#endif // GDCMQUERYFACTORY_H
Generated on Wed Jun 13 2012 20:40:37 for GDCM by
1.8.1