]> Creatis software - gdcm.git/blobdiff - src/gdcmDicomDirMeta.cxx
* src/gdcmFile.cxx : bug fix. Omitted a Push in the DocEntryArchive when
[gdcm.git] / src / gdcmDicomDirMeta.cxx
index cadbc21646d6fd60c81a23735f7f996961cd15dc..3942ee83b06c4041ca1d9506fd761057545cb1f4 100644 (file)
@@ -3,8 +3,8 @@
   Program:   gdcm
   Module:    $RCSfile: gdcmDicomDirMeta.cxx,v $
   Language:  C++
-  Date:      $Date: 2004/12/03 20:16:57 $
-  Version:   $Revision: 1.17 $
+  Date:      $Date: 2004/12/06 11:37:38 $
+  Version:   $Revision: 1.18 $
                                                                                 
   Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
   l'Image). All rights reserved. See Doc/License.txt or
@@ -33,7 +33,6 @@ namespace gdcm
 DicomDirMeta::DicomDirMeta():
    DicomDirObject()
 {
-
 }
 
 /**
@@ -42,7 +41,6 @@ DicomDirMeta::DicomDirMeta():
  */
 DicomDirMeta::~DicomDirMeta() 
 {
-   
 }
 
 //-----------------------------------------------------------------------------
@@ -54,10 +52,13 @@ 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();  
+   for (ListDocEntry::iterator i = DocEntries.begin();
         i != DocEntries.end();
         ++i)
-      (*i)->Print();    
+   {
+      (*i)->Print();
+      os << std::endl;
+   }
 }