]> Creatis software - gdcm.git/blobdiff - src/gdcmDicomDirSerie.cxx
* src/*.cxx : first parss to normalize file organisation
[gdcm.git] / src / gdcmDicomDirSerie.cxx
index 7dfcfdfddcc44d3638054109c8ddc6fe41183721..16e7e4f22c3a3393392f71a91b082dc546ffb6a1 100644 (file)
@@ -3,8 +3,8 @@
   Program:   gdcm
   Module:    $RCSfile: gdcmDicomDirSerie.cxx,v $
   Language:  C++
-  Date:      $Date: 2005/01/28 17:01:29 $
-  Version:   $Revision: 1.36 $
+  Date:      $Date: 2005/02/01 10:29:55 $
+  Version:   $Revision: 1.37 $
                                                                                 
   Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
   l'Image). All rights reserved. See Doc/License.txt or
@@ -24,7 +24,6 @@
 
 namespace gdcm 
 {
-
 //-----------------------------------------------------------------------------
 // Constructor / Destructor
 /**
@@ -50,27 +49,6 @@ DicomDirSerie::~DicomDirSerie()
    ClearImage();
 }
 
-//-----------------------------------------------------------------------------
-// Print
-/**
- * \brief   Prints the Object
- * @param os ostream to write to
- * @param indent Indentation string to be prepended during printing
- */ 
-void DicomDirSerie::Print(std::ostream &os, std::string const &)
-{
-   os << "SERIE" << std::endl;
-   DicomDirObject::Print(os);
-
-   for(ListDicomDirImage::iterator cc = Images.begin();
-                                   cc != Images.end();
-                                   ++cc)
-   {
-      (*cc)->SetPrintLevel(PrintLevel);
-      (*cc)->Print(os);
-   }
-}
-
 //-----------------------------------------------------------------------------
 // Public
 /**
@@ -149,6 +127,25 @@ DicomDirImage *DicomDirSerie::GetNextImage()
 // Private
 
 //-----------------------------------------------------------------------------
-} // end namespace gdcm
+// Print
+/**
+ * \brief   Prints the Object
+ * @param os ostream to write to
+ * @param indent Indentation string to be prepended during printing
+ */ 
+void DicomDirSerie::Print(std::ostream &os, std::string const &)
+{
+   os << "SERIE" << std::endl;
+   DicomDirObject::Print(os);
 
+   for(ListDicomDirImage::iterator cc = Images.begin();
+                                   cc != Images.end();
+                                   ++cc)
+   {
+      (*cc)->SetPrintLevel(PrintLevel);
+      (*cc)->Print(os);
+   }
+}
 
+//-----------------------------------------------------------------------------
+} // end namespace gdcm