X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=src%2FgdcmDocEntry.cxx;h=6ada3fad82bedaa863be4935606edd7ae17947ae;hb=a2040ffd26fc9a3c835b6c45b92a808f1d001b36;hp=fcd2db28b0edb4480db26844cacab23a6f81effd;hpb=ba78e6c6d47d6db1528e8e88e5ebde7296a26692;p=gdcm.git diff --git a/src/gdcmDocEntry.cxx b/src/gdcmDocEntry.cxx index fcd2db28..6ada3fad 100644 --- a/src/gdcmDocEntry.cxx +++ b/src/gdcmDocEntry.cxx @@ -3,8 +3,8 @@ Program: gdcm Module: $RCSfile: gdcmDocEntry.cxx,v $ Language: C++ - Date: $Date: 2004/12/03 20:16:57 $ - Version: $Revision: 1.34 $ + Date: $Date: 2005/01/05 15:38:28 $ + Version: $Revision: 1.36 $ Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de l'Image). All rights reserved. See Doc/License.txt or @@ -48,7 +48,6 @@ DocEntry::DocEntry(DictEntry* in) // init some variables ReadLength = 0; UsableLength = 0; - PrintLevel = 0; } //----------------------------------------------------------------------------- @@ -60,8 +59,6 @@ DocEntry::DocEntry(DictEntry* in) */ void DocEntry::Print(std::ostream& os) { - PrintLevel = 2; // FIXME - size_t o; std::string st; TSKey v; @@ -166,7 +163,7 @@ void DocEntry::WriteContent(std::ofstream* fp, FileType filetype) uint16_t z = 0; uint16_t shortLgr = lgr; - if (vr == "unkn") + if (vr == GDCM_UNKNOWN) { // Unknown was 'written' // deal with Little Endian @@ -252,7 +249,6 @@ void DocEntry::Copy (DocEntry* e) ReadLength = e->ReadLength; ImplicitVR = e->ImplicitVR; Offset = e->Offset; - PrintLevel = e->PrintLevel; // TODO : remove DocEntry SQDepth }