]> Creatis software - gdcm.git/blob - src/gdcmVR.h
* src/*.[h|cxx] : coding style
[gdcm.git] / src / gdcmVR.h
1 // gdcmVR.h
2 //-----------------------------------------------------------------------------
3 #ifndef GDCMVR_H
4 #define GDCMVR_H
5
6 #include "gdcmCommon.h"
7 #include <map>
8 #include <string>
9
10 //-----------------------------------------------------------------------------
11 typedef std::string VRKey;
12 typedef std::string VRAtr;
13 typedef std::map<VRKey, VRAtr> VRHT;    // Value Representation Hash Table
14
15 //-----------------------------------------------------------------------------
16 /*
17  * Container for dicom Value Representation Hash Table
18  * \note   This is a singleton
19  */
20 class GDCM_EXPORT gdcmVR {
21 public:
22         gdcmVR(void);
23    ~gdcmVR();
24    int Count(VRKey key);
25
26 private:
27    VRHT vr;
28 };
29
30 //-----------------------------------------------------------------------------
31 #endif