]> Creatis software - gdcm.git/blobdiff - src/gdcmDicomDirSerie.h
Removal of useless and dangerous methods :
[gdcm.git] / src / gdcmDicomDirSerie.h
index e4d57b33aa1d0f59ec806533a5a60e838fc8bfde..5dbf4005ecb0ca7af06dc961948aa612a8e1d2d8 100644 (file)
@@ -3,8 +3,8 @@
   Program:   gdcm
   Module:    $RCSfile: gdcmDicomDirSerie.h,v $
   Language:  C++
-  Date:      $Date: 2004/10/25 04:08:20 $
-  Version:   $Revision: 1.13 $
+  Date:      $Date: 2005/01/06 20:03:27 $
+  Version:   $Revision: 1.17 $
                                                                                 
   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;
 
@@ -31,19 +31,17 @@ typedef std::list<DicomDirImage *> ListDicomDirImage;
 class GDCM_EXPORT DicomDirSerie : public DicomDirObject 
 {
 public:
-   DicomDirSerie( SQItem* s, TagDocEntryHT* ptagHT ); 
-   DicomDirSerie( TagDocEntryHT* ptagHT ); 
-
+   DicomDirSerie(); 
    ~DicomDirSerie();
 
-   void Print( std::ostreamos = std::cout );
-   void Write( std::ofstream* fp, 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
@@ -55,7 +53,7 @@ public:
  * \ingroup DicomDirSerie
  * \brief   TODO
  */ 
-   DicomDirImageNewImage();
+   DicomDirImage *NewImage();
     
 private:
 /**