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