3 //-----------------------------------------------------------------------------
8 # define PUB_DICT_PATH "../Dicts/"
10 #define DICT_VR "dicomVR.dic"
12 //-----------------------------------------------------------------------------
13 // Constructor / Destructor
14 gdcmVR::gdcmVR(void) {
15 std::string filename=gdcmDictSet::BuildDictPath() + std::string(DICT_VR);
16 std::ifstream from(filename.c_str());
17 dbg.Error(!from, "gdcmVR::gdcmVR: can't open dictionary",filename.c_str());
25 from.getline(buff, 1024, ' ');
28 from.getline(buff, 1024, ';');
32 from.getline(buff, 1024, '\n');
46 //-----------------------------------------------------------------------------
49 //-----------------------------------------------------------------------------
51 int gdcmVR::Count(VRKey key) {
55 //-----------------------------------------------------------------------------
58 //-----------------------------------------------------------------------------
61 //-----------------------------------------------------------------------------