X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=src%2FgdcmVR.cxx;h=de4f1e1c2d2d46ba33cf484bf1e6c3dd419c195c;hb=74898aac8bf30b29bb0e33a3e74d0f5a0b71518e;hp=3d2ea9c2deb7fd3a4002446e611f27c286f42805;hpb=ecc068684313c5f9f1050de920afc7e413041220;p=gdcm.git diff --git a/src/gdcmVR.cxx b/src/gdcmVR.cxx index 3d2ea9c2..de4f1e1c 100644 --- a/src/gdcmVR.cxx +++ b/src/gdcmVR.cxx @@ -1,6 +1,6 @@ // gdcmVR.cxx #include - +//----------------------------------------------------------------------------- #include "gdcmVR.h" #include "gdcmUtil.h" @@ -9,6 +9,8 @@ #endif #define DICT_VR "dicomVR.dic" +//----------------------------------------------------------------------------- +// Constructor / Destructor gdcmVR::gdcmVR(void) { std::string filename=gdcmDictSet::BuildDictPath() + std::string(DICT_VR); std::ifstream from(filename.c_str()); @@ -41,6 +43,19 @@ gdcmVR::~gdcmVR() { vr.clear(); } +//----------------------------------------------------------------------------- +// Print + +//----------------------------------------------------------------------------- +// Public int gdcmVR::Count(VRKey key) { return vr.count(key); } + +//----------------------------------------------------------------------------- +// Protected + +//----------------------------------------------------------------------------- +// Private + +//-----------------------------------------------------------------------------