GDCM 3.0.24
gdcmQueryFactory.h
Go to the documentation of this file.
1/*=========================================================================
2 *
3 * Copyright NumFOCUS
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
23namespace gdcm{
27 enum ECharSet {
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
43 eGB18030 // Chinese (Simplified) Extended
44 };
45
58{
59public:
60
61 static BaseQuery* ProduceQuery( const std::string & sopInstanceUID, ENQueryType inQueryType );
67 static BaseRootQuery* ProduceQuery(ERootType inRootType, EQueryType inQueryType,
68 EQueryLevel inQueryLevel);
69
78 const std::vector<ECharSet>& inCharSetType);
79
83
85 static void ListCharSets(std::ostream& os);
86};
87
88} // end namespace gdcm
89
90#endif // GDCMQUERYFACTORY_H
BaseQuery.
Definition gdcmBaseQuery.h:42
BaseRootQuery.
Definition gdcmBaseRootQuery.h:67
Class to represent a Data Element either Implicit or Explicit.
Definition gdcmDataElement.h:59
QueryFactory.h.
Definition gdcmQueryFactory.h:58
static BaseQuery * ProduceQuery(const std::string &sopInstanceUID, ENQueryType inQueryType)
static ECharSet GetCharacterFromCurrentLocale()
static void ListCharSets(std::ostream &os)
List all possible CharSet.
static DataElement ProduceCharacterSetDataElement(const std::vector< ECharSet > &inCharSetType)
static BaseRootQuery * ProduceQuery(ERootType inRootType, EQueryType inQueryType, EQueryLevel inQueryLevel)
#define GDCM_EXPORT
Definition gdcmWin32.h:34
Definition gdcmASN1.h:21
ENQueryType
Definition gdcmBaseQuery.h:31
ERootType
Definition gdcmQueryBase.h:29
EQueryType
Definition gdcmBaseRootQuery.h:43
ECharSet
Definition gdcmQueryFactory.h:27
@ eLatin2
Definition gdcmQueryFactory.h:29
@ eKoreanHangulHanjaMultibyte
Definition gdcmQueryFactory.h:41
@ eLatin1
Definition gdcmQueryFactory.h:28
@ eLatin3
Definition gdcmQueryFactory.h:30
@ eUTF8
Definition gdcmQueryFactory.h:42
@ eJapaneseSupplementaryKanjiMultibyte
Definition gdcmQueryFactory.h:40
@ eCyrillic
Definition gdcmQueryFactory.h:32
@ eHebrew
Definition gdcmQueryFactory.h:35
@ eLatin5
Definition gdcmQueryFactory.h:36
@ eLatin4
Definition gdcmQueryFactory.h:31
@ eJapanese
Definition gdcmQueryFactory.h:37
@ eJapaneseKanjiMultibyte
Definition gdcmQueryFactory.h:39
@ eArabic
Definition gdcmQueryFactory.h:33
@ eGreek
Definition gdcmQueryFactory.h:34
@ eGB18030
Definition gdcmQueryFactory.h:43
@ eThai
Definition gdcmQueryFactory.h:38
EQueryLevel
Definition gdcmBaseRootQuery.h:35