// gdcmVR.h
-
+//-----------------------------------------------------------------------------
#ifndef GDCMVR_H
#define GDCMVR_H
+#include "gdcmCommon.h"
#include <map>
#include <string>
-#include "gdcmCommon.h"
-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;
public:
- gdcmVR();
+ gdcmVR(void);
~gdcmVR();
- int Count(VRKey);
+ int Count(VRKey key);
+
+private:
+ VRHT vr;
};
+//-----------------------------------------------------------------------------
#endif