X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=src%2FgdcmVR.h;h=11ad35969fe7741a0b50f2a65ff941bde8940511;hb=3f0c0dc58eba64083f79a898d6f60119cd448650;hp=68d7fee3940e5c6fb979329bfba7011fb530db3a;hpb=05abd393cf82392c894dd1d852e2273b0648671d;p=gdcm.git diff --git a/src/gdcmVR.h b/src/gdcmVR.h index 68d7fee3..11ad3596 100644 --- a/src/gdcmVR.h +++ b/src/gdcmVR.h @@ -1,25 +1,36 @@ // gdcmVR.h - +//----------------------------------------------------------------------------- #ifndef GDCMVR_H #define GDCMVR_H +#include "gdcmCommon.h" #include #include -#include "gdcmCommon.h" +#include +//----------------------------------------------------------------------------- typedef std::string VRKey; typedef std::string VRAtr; typedef std::map 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