Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018 #ifndef GDCMQUERYFACTORY_H
00019 #define GDCMQUERYFACTORY_H
00020
00021 #include "gdcmBaseRootQuery.h"
00022
00023 namespace gdcm{
00027 enum ECharSet {
00028 eLatin1 = 0,
00029 eLatin2,
00030 eLatin3,
00031 eLatin4,
00032 eCyrillic,
00033 eArabic,
00034 eGreek,
00035 eHebrew,
00036 eLatin5,
00037 eJapanese,
00038 eThai,
00039 eJapaneseKanjiMultibyte,
00040 eJapaneseSupplementaryKanjiMultibyte,
00041 eKoreanHangulHanjaMultibyte,
00042 eUTF8,
00043 eGB18030
00044 };
00045
00058 class GDCM_EXPORT QueryFactory
00059 {
00060 public:
00066 static BaseRootQuery* ProduceQuery(ERootType inRootType, EQueryType inQueryType,
00067 EQueryLevel inQueryLevel);
00068
00076 static DataElement ProduceCharacterSetDataElement(
00077 const std::vector<ECharSet>& inCharSetType);
00078
00081 static ECharSet GetCharacterFromCurrentLocale();
00082
00084 static void ListCharSets(std::ostream& os);
00085 };
00086
00087 }
00088
00089 #endif // GDCMQUERYFACTORY_H