]> Creatis software - gdcm.git/blobdiff - src/gdcmVR.h
Update INSTALL for cmake
[gdcm.git] / src / gdcmVR.h
index 3be7fa4c79ae2e8a8e80f0f63ef53c59df46dcc5..11ad35969fe7741a0b50f2a65ff941bde8940511 100644 (file)
@@ -1,28 +1,36 @@
 // gdcmVR.h
-
+//-----------------------------------------------------------------------------
 #ifndef GDCMVR_H
 #define GDCMVR_H
 
+#include "gdcmCommon.h"
 #include <map>
 #include <string>
-#include "gdcmCommon.h"
+#include <iostream>
 
-typedef string VRKey;
-typedef string VRAtr;
-typedef map<VRKey, VRAtr> VRHT;    // Value Representation Hash Table
+//-----------------------------------------------------------------------------
+typedef std::string VRKey;
+typedef std::string VRAtr;
+typedef std::map<VRKey, VRAtr> VRHT;    // Value Representation Hash Table
 
+//-----------------------------------------------------------------------------
 /*
- * \defgroup gdcmVR
- * \brief  Container for dicom Value Representation Hash Table
+ * Container for dicom Value Representation Hash Table
  * \note   This is a singleton
  */
-class GDCM_EXPORT gdcmVR {
-private:
-   VRHT *dicom_vr;
+class GDCM_EXPORT gdcmVR 
+{
 public:
-       gdcmVR();
+       gdcmVR(void);
    ~gdcmVR();
-   int Count(VRKey);
+
+   void Print(std::ostream &os = std::cout);
+
+   int Count(VRKey key);
+
+private:
+   VRHT vr;
 };
 
+//-----------------------------------------------------------------------------
 #endif