]> Creatis software - gdcm.git/blobdiff - src/gdcmElValue.cxx
- garbage Siemens 'Leonardo' images dealt with
[gdcm.git] / src / gdcmElValue.cxx
index 20a75e86dbb65c2e49becf953067afd712629c1c..61b216ba75a53a8eec25c24828c685209f631028 100644 (file)
@@ -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;
 }