]> Creatis software - gdcm.git/blobdiff - src/gdcmDicomDirSerie.h
BUG: There was some duplicated code I didnt see. This fix D.Clunie problem I was...
[gdcm.git] / src / gdcmDicomDirSerie.h
index 4f4371a30b6d7c203aa52549278bac0e21290f23..4f2f0749c7e829610bf46792ed5befb6b1cf9a62 100644 (file)
@@ -3,8 +3,8 @@
   Program:   gdcm
   Module:    $RCSfile: gdcmDicomDirSerie.h,v $
   Language:  C++
-  Date:      $Date: 2004/12/03 17:13:18 $
-  Version:   $Revision: 1.15 $
+  Date:      $Date: 2005/01/11 15:15: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
 #define GDCMDICOMDIRSERIE_H
 
 #include "gdcmDicomDirObject.h"
-#include "gdcmDicomDirImage.h"
 
 namespace gdcm 
 {
+class DicomDirImage;
 //-----------------------------------------------------------------------------
 typedef std::list<DicomDirImage *> ListDicomDirImage;
 
 //-----------------------------------------------------------------------------
+/**
+ * \ingroup DicomDirSerie
+ * \brief   describes a SERIE  within a within a STUDY
+ * (DicomDirStudy) of a given DICOMDIR (DicomDir)
+ */
 class GDCM_EXPORT DicomDirSerie : public DicomDirObject 
 {
 public:
    DicomDirSerie(); 
    ~DicomDirSerie();
 
-   void Print( std::ostreamos = std::cout );
-   void WriteContent( std::ofstreamfp, FileType t );
+   void Print( std::ostream &os = std::cout );
+   void WriteContent( std::ofstream *fp, FileType t );
 
    /**
     * \ingroup DicomDirSerie
     * \brief   returns the IMAGE chained List for this SERIE.
     */
-   ListDicomDirImage const & GetDicomDirImages() const { return Images; };
+   ListDicomDirImage const &GetDicomDirImages() const { return Images; };
 
    /**
     * \ingroup DicomDirSerie
@@ -53,7 +58,7 @@ public:
  * \ingroup DicomDirSerie
  * \brief   TODO
  */ 
-   DicomDirImageNewImage();
+   DicomDirImage *NewImage();
     
 private:
 /**