X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=src%2FgdcmDicomDirMeta.cxx;h=985d7516e08cd220f590ea70b0c30e0237085773;hb=eae9a01c2edd9f615a78dc64a8e7731d09e815a1;hp=8c00a238caf9e8d55cdbead5523381a2231e42d1;hpb=fea9426f960497d2d9124ab532d2097f2915678f;p=gdcm.git diff --git a/src/gdcmDicomDirMeta.cxx b/src/gdcmDicomDirMeta.cxx index 8c00a238..985d7516 100644 --- a/src/gdcmDicomDirMeta.cxx +++ b/src/gdcmDicomDirMeta.cxx @@ -3,8 +3,8 @@ Program: gdcm Module: $RCSfile: gdcmDicomDirMeta.cxx,v $ Language: C++ - Date: $Date: 2004/10/22 03:05:40 $ - Version: $Revision: 1.13 $ + Date: $Date: 2004/10/25 03:35:19 $ + Version: $Revision: 1.14 $ Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de l'Image). All rights reserved. See Doc/License.txt or @@ -53,8 +53,8 @@ void DicomDirMeta::Print(std::ostream& os) { os << "META" << std::endl; // warning : META doesn't behave exactly like a Objet - for (ListDocEntry::iterator i = docEntries.begin(); - i != docEntries.end(); + for (ListDocEntry::iterator i = DocEntries.begin(); + i != DocEntries.end(); ++i) (*i)->Print(); } @@ -70,10 +70,12 @@ void DicomDirMeta::Print(std::ostream& os) */ void DicomDirMeta::Write(std::ofstream* fp, FileType t) { - for (ListDocEntry::iterator i = docEntries.begin(); - i != docEntries.end(); - ++i) - (*i)->Write(fp, t); + for (ListDocEntry::iterator i = DocEntries.begin(); + i != DocEntries.end(); + ++i) + { + (*i)->Write(fp, t); + } } //-----------------------------------------------------------------------------