X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;ds=sidebyside;f=src%2FgdcmDocEntry.cxx;fp=src%2FgdcmDocEntry.cxx;h=535e3bc99267a3446588b3c8f9db86085c81ffc2;hb=906464b1c71b1b623f8202a693e75a358a5bd965;hp=4b91fc3543e96f60461619ec9e4a17b47929b832;hpb=d44aadb7b4ba5ad2c1d80ca6aa2125691e2b3aab;p=gdcm.git diff --git a/src/gdcmDocEntry.cxx b/src/gdcmDocEntry.cxx index 4b91fc35..535e3bc9 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/12/21 14:52:12 $ - Version: $Revision: 1.80 $ + Date: $Date: 2006/02/16 20:06:14 $ + Version: $Revision: 1.81 $ Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de l'Image). All rights reserved. See Doc/License.txt or @@ -71,9 +71,9 @@ void DocEntry::WriteContent(std::ofstream *fp, FileType filetype) { uint32_t ffff = 0xffffffff; uint16_t group = GetGroup(); - + ///\todo allow skipping Shadow groups - + VRKey vr = GetVR(); uint16_t elem = GetElement(); uint32_t lgth = GetLength(); @@ -85,7 +85,7 @@ void DocEntry::WriteContent(std::ofstream *fp, FileType filetype) // we just *always* ignore spurious fffe|0000 tag ! return; } - + // // ----------- Writes the common part // @@ -101,10 +101,9 @@ void DocEntry::WriteContent(std::ofstream *fp, FileType filetype) // Dicom V3 group 0x0002 is *always* Explicit VR ! if ( filetype == ExplicitVR || filetype == JPEG || group == 0x0002 ) { - // ----------- Writes the common part : the VR + the length - // Special case of delimiters: + // Special case of delimiters: if (group == 0xfffe) { // Delimiters have NO Value Representation