X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;ds=sidebyside;f=src%2FgdcmBinEntry.cxx;h=f376df9847d68511acb98ecf6fcdbfb04db609e5;hb=90c918a795e4a1892af2cd120eb20d6311499387;hp=3f2325e39bdac0d58f0ce7759df9b88394b1c41b;hpb=14922bc6265c1a1e183e1643f70fa57c413b5d99;p=gdcm.git diff --git a/src/gdcmBinEntry.cxx b/src/gdcmBinEntry.cxx index 3f2325e3..f376df98 100644 --- a/src/gdcmBinEntry.cxx +++ b/src/gdcmBinEntry.cxx @@ -3,8 +3,8 @@ Program: gdcm Module: $RCSfile: gdcmBinEntry.cxx,v $ Language: C++ - Date: $Date: 2005/08/25 13:45:40 $ - Version: $Revision: 1.73 $ + Date: $Date: 2005/09/07 15:19:37 $ + Version: $Revision: 1.77 $ Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de l'Image). All rights reserved. See Doc/License.txt or @@ -156,10 +156,33 @@ void BinEntry::Print(std::ostream &os, std::string const & ) } s << "]"; } - else + else if ( GetVR() == "FD" ) { - s << " [" << GetValue() - << "; length = " << GetLength() << "]"; + int l = GetReadLength()/8 - 1; + double *beg = (double *)GetBinArea(); + s << " [" << *beg; + if ( l!= 0) + for (int i=0;i