X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=src%2FgdcmDocEntry.cxx;h=706d023c351865c50f1db532d8c6f947a60116e9;hb=d7531a8099267279c067b9115309cdc10f8eb46d;hp=6a9a13ce201aa4ba3c7f86cf0a8a449bacb574e4;hpb=48dd5ec3ffe0b70e8a687ec29a1f0b1fb9a4b5eb;p=gdcm.git diff --git a/src/gdcmDocEntry.cxx b/src/gdcmDocEntry.cxx index 6a9a13ce..706d023c 100644 --- a/src/gdcmDocEntry.cxx +++ b/src/gdcmDocEntry.cxx @@ -3,8 +3,8 @@ Program: gdcm Module: $RCSfile: gdcmDocEntry.cxx,v $ Language: C++ - Date: $Date: 2005/11/03 08:47:51 $ - Version: $Revision: 1.77 $ + Date: $Date: 2005/11/21 12:15:06 $ + Version: $Revision: 1.78 $ Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de l'Image). All rights reserved. See Doc/License.txt or @@ -128,10 +128,10 @@ void DocEntry::WriteContent(std::ofstream *fp, FileType filetype) else { binary_write(*fp, vr.str()); - - if ( (vr == "OB") || (vr == "OW") || (vr == "SQ") /*|| (vr == "UN")*/ ) -// FIXME : what is the status of VR = "UN" -// --> uncomment or remove comment ! + + // See PS 3.5-2004 page 33, 36 + if ( (vr == "SQ") || (vr == "OB") || (vr == "OW") || (vr == "OF") + || (vr == "UN") || (vr == "UT") ) { binary_write(*fp, zero); if (vr == "SQ")