X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=src%2FgdcmVR.h;h=7dd8e1ff8c1924937445c3dc83eb48bf748b727e;hb=8e1fe98f7659cec85bcbce8551e28f8e45971370;hp=f29321936257a943ab0c84f13547162eab326dbd;hpb=15d7b1b38f5ddb59d395e0e4e3f9b0250eb90eec;p=gdcm.git diff --git a/src/gdcmVR.h b/src/gdcmVR.h index f2932193..7dd8e1ff 100644 --- a/src/gdcmVR.h +++ b/src/gdcmVR.h @@ -1,27 +1,37 @@ // 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; +class GDCM_EXPORT gdcmVR +{ public: gdcmVR(void); ~gdcmVR(); + + void Print(std::ostream &os = std::cout); int Count(VRKey key); + bool IsVROfGdcmBinaryRepresentable(VRKey); + bool IsVROfGdcmStringRepresentable(VRKey); + +private: + VRHT vr; }; +//----------------------------------------------------------------------------- #endif