]> Creatis software - gdcm.git/blobdiff - src/gdcmRLEFramesInfo.cxx
* remove ContentEntry::Write() code, yet the method is 'pure virtual'
[gdcm.git] / src / gdcmRLEFramesInfo.cxx
index 0286031e671ef22c33a7a1c16cb7aad5c6bb5303..361f451aa1f1c208da259e29f59a5afe6feb4279 100644 (file)
@@ -3,8 +3,8 @@
   Program:   gdcm
   Module:    $RCSfile: gdcmRLEFramesInfo.cxx,v $
   Language:  C++
-  Date:      $Date: 2004/10/20 14:30:40 $
-  Version:   $Revision: 1.3 $
+  Date:      $Date: 2005/01/24 16:10:53 $
+  Version:   $Revision: 1.5 $
                                                                                 
   Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
   l'Image). All rights reserved. See Doc/License.txt or
@@ -35,8 +35,9 @@ RLEFramesInfo::~RLEFramesInfo()
  * @param indent Indentation string to be prepended during printing.
  * @param os     Stream to print to.
  */
-void RLEFramesInfo::Print( std::string indent, std::ostream &os )
+void RLEFramesInfo::Print( std::ostream &os, std::string indent )
 {
+   os << std::endl;
    os << indent
       << "----------------- RLE frames --------------------------------"
       << std::endl;
@@ -49,7 +50,7 @@ void RLEFramesInfo::Print( std::string indent, std::ostream &os )
       os << indent
          << "   frame number :" << frameNumber++
          << std::endl;
-      (*it)->Print( indent + "   ", os );
+      (*it)->Print( os, indent + "   " );
    }
 }