]> Creatis software - gdcm.git/blobdiff - src/gdcmDicomDirStudy.cxx
Temporary (?) uncomment of method gdcmElementSet::GetEntry()
[gdcm.git] / src / gdcmDicomDirStudy.cxx
index d1a66ff9f130be4cd616447c5a47428dd6ff7a38..cd3b07c60445c98d4b142c8ea5707e2f2b4bd6d9 100644 (file)
@@ -3,8 +3,8 @@
   Program:   gdcm
   Module:    $RCSfile: gdcmDicomDirStudy.cxx,v $
   Language:  C++
-  Date:      $Date: 2004/08/01 02:39:09 $
-  Version:   $Revision: 1.9 $
+  Date:      $Date: 2004/08/26 15:29:52 $
+  Version:   $Revision: 1.10 $
                                                                                 
   Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
   l'Image). All rights reserved. See Doc/License.txt or
@@ -80,6 +80,20 @@ void gdcmDicomDirStudy::Print(std::ostream &os)
 //-----------------------------------------------------------------------------
 // Public
 
+/**
+ * \brief   Writes the Object
+ * @return
+ */ 
+void gdcmDicomDirStudy::Write(FILE *fp, FileType t)
+{
+   gdcmObject::Write(fp, t);
+
+   for(ListDicomDirSerie::iterator cc = series.begin();cc!=series.end();++cc)
+   {
+      (*cc)->Write( fp, t );
+   }
+}
+
 /**
  * \ingroup gdcmDicomStudy
  * \brief   adds a new Serie at the begining of the SerieList