]> Creatis software - gdcm.git/blob - src/gdcmVR.h
ENH: Now Example is an option, ON by default
[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 #include <iostream>
10
11 //-----------------------------------------------------------------------------
12 typedef std::string VRKey;
13 typedef std::string VRAtr;
14 typedef std::map<VRKey, VRAtr> VRHT;    // Value Representation Hash Table
15
16 //-----------------------------------------------------------------------------
17 /*
18  * Container for dicom Value Representation Hash Table
19  * \note   This is a singleton
20  */
21 class GDCM_EXPORT gdcmVR 
22 {
23 public:
24         gdcmVR(void);
25    ~gdcmVR();
26
27    void Print(std::ostream &os = std::cout);
28
29    int Count(VRKey key);
30
31 private:
32    VRHT vr;
33 };
34
35 //-----------------------------------------------------------------------------
36 #endif