9 # define PUB_DICT_PATH "../Dicts/"
11 #define DICT_TS "dicomTS.dic"
13 gdcmTS::gdcmTS(void) {
14 std::string filename=gdcmDictSet::BuildDictPath() + std::string(DICT_TS);
15 std::ifstream from(filename.c_str());
16 dbg.Error(!from, "gdcmTS::gdcmTS: can't open dictionary",filename.c_str());
24 from.getline(buff, 1024, ' ');
27 from.getline(buff, 1024, '\n');
42 int gdcmTS::Count(TSKey key) {
46 std::string gdcmTS::GetValue(TSKey key) {
47 if (ts.count(key) == 0)
48 return (GDCM_UNFOUND);