X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;ds=inline;f=src%2FgdcmVR.cxx;h=536aea3695acd93c8094f62f478bc1e74642b408;hb=67103c260bf25e83fcd847e995783614e41cde5d;hp=f002d0a083aa98525580bd8c0f11e3dfcd0c720b;hpb=d7a4d5d474ae599b723e52ebda8bd3fc6cee752a;p=gdcm.git diff --git a/src/gdcmVR.cxx b/src/gdcmVR.cxx index f002d0a0..536aea36 100644 --- a/src/gdcmVR.cxx +++ b/src/gdcmVR.cxx @@ -1,13 +1,6 @@ // gdcmVR.cxx -#include //----------------------------------------------------------------------------- -#include "gdcmVR.h" -#include "gdcmUtil.h" - -#ifndef PUB_DICT_PATH -# define PUB_DICT_PATH "../Dicts/" -#endif -#define DICT_VR "dicomVR.dic" +#include #include #ifdef GDCM_NO_ANSI_STRING_STREAM @@ -17,8 +10,20 @@ # include #endif +#include "gdcmVR.h" +#include "gdcmUtil.h" +#include "gdcmDictSet.h" +#include "gdcmDebug.h" + +#ifndef PUB_DICT_PATH +# define PUB_DICT_PATH "../Dicts/" +#endif +#define DICT_VR "dicomVR.dic" + //----------------------------------------------------------------------------- -// Constructor / Destructor +/** + * \brief Constructor + */ gdcmVR::gdcmVR(void) { std::string filename=gdcmDictSet::BuildDictPath() + std::string(DICT_VR); @@ -49,6 +54,9 @@ gdcmVR::gdcmVR(void) from.close(); } +/** + * \brief Destructor + */ gdcmVR::~gdcmVR() { vr.clear(); } @@ -76,7 +84,7 @@ void gdcmVR::Print(std::ostream &os) /** * \ingroup gdcmVR * \brief Get the count for an element - * @param Key key to count + * @param key key to count */ int gdcmVR::Count(VRKey key) {