]> Creatis software - gdcm.git/blob - src/gdcmVR.h
* Memory link hunt (by using valgrind --leak-check=yes PrintHeader).
[gdcm.git] / src / gdcmVR.h
1 // gdcmVR.h
2
3 #ifndef GDCMVR_H
4 #define GDCMVR_H
5
6 #include <map>
7 #include <string>
8 #include "gdcmCommon.h"
9
10 typedef string VRKey;
11 typedef string VRAtr;
12 typedef map<VRKey, VRAtr> VRHT;    // Value Representation Hash Table
13
14 /*
15  * \defgroup gdcmVR
16  * \brief  Container for dicom Value Representation Hash Table
17  * \note   This is a singleton
18  */
19 class GDCM_EXPORT gdcmVR {
20 private:
21    VRHT *dicom_vr;
22 public:
23         gdcmVR();
24    ~gdcmVR();
25    int Count(VRKey);
26 };
27
28 #endif