X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=src%2FgdcmElValue.cxx;h=61b216ba75a53a8eec25c24828c685209f631028;hb=822a234a022899ba97ad11831df13ff009eaacd0;hp=20a75e86dbb65c2e49becf953067afd712629c1c;hpb=c0dbd079b33fa47c936c88e881057037e042f71a;p=gdcm.git diff --git a/src/gdcmElValue.cxx b/src/gdcmElValue.cxx index 20a75e86..61b216ba 100644 --- a/src/gdcmElValue.cxx +++ b/src/gdcmElValue.cxx @@ -1,14 +1,15 @@ -#include "gdcmlib.h" -#define DEBUG 1 - -void ElValue::SetVR(string ValRep) { - if (!entry && DEBUG) { - printf ("ElValue::SetVR: no known entry\n"); - return; - } - entry->SetVR(ValRep); -} +// gdcmElValue.cxx + +#include "gdcmElValue.h" + + +/** + * \ingroup gdcmElValue + * \brief Constructor from a given gdcmDictEntry + * @param in Pointer to existing dictionary entry + */ -void ElValue::SetLgrLue(guint32 lgr) { - LgrLueElem = lgr; +gdcmElValue::gdcmElValue(gdcmDictEntry* in) { + ImplicitVr = false; + entry = in; }