X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=src%2FgdcmVR.h;h=11ad35969fe7741a0b50f2a65ff941bde8940511;hb=96f5b762d6acee38e841d461c020247d94c83e31;hp=9301e24a2b59b9d24f523cb39cf3681e6c6489fe;hpb=29bdd1e88a28b6267618f633f304e1154537ce7b;p=gdcm.git diff --git a/src/gdcmVR.h b/src/gdcmVR.h index 9301e24a..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 +//----------------------------------------------------------------------------- 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