]> Creatis software - gdcm.git/blobdiff - src/gdcmDicomDirSerie.h
ENH: Move the old setup.py to its new home
[gdcm.git] / src / gdcmDicomDirSerie.h
index acde92f460f9351a2796dfff1bc2d6ff8d05566b..308045a87533a68f42a40b5f5b803506ab95b392 100644 (file)
@@ -3,12 +3,12 @@
   Program:   gdcm
   Module:    $RCSfile: gdcmDicomDirSerie.h,v $
   Language:  C++
-  Date:      $Date: 2004/07/02 13:55:27 $
-  Version:   $Revision: 1.5 $
+  Date:      $Date: 2004/09/27 08:39:06 $
+  Version:   $Revision: 1.9 $
                                                                                 
   Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
   l'Image). All rights reserved. See Doc/License.txt or
-  http://www.creatis.insa-lyon.fr/Public/Gdcm/License.htm for details.
+  http://www.creatis.insa-lyon.fr/Public/Gdcm/License.html for details.
                                                                                 
      This software is distributed WITHOUT ANY WARRANTY; without even
      the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
 #ifndef GDCMDICOMDIRSERIE_H
 #define GDCMDICOMDIRSERIE_H
 
-#include "gdcmObject.h"
+#include "gdcmDicomDirObject.h"
 #include "gdcmDicomDirImage.h"
 
 //-----------------------------------------------------------------------------
 typedef std::list<gdcmDicomDirImage *> ListDicomDirImage;
 
 //-----------------------------------------------------------------------------
-class GDCM_EXPORT gdcmDicomDirSerie : public gdcmObject 
+class GDCM_EXPORT gdcmDicomDirSerie : public gdcmDicomDirObject 
 {
 public:
    gdcmDicomDirSerie(gdcmSQItem *s, TagDocEntryHT *ptagHT); 
    gdcmDicomDirSerie(TagDocEntryHT *ptagHT); 
-   ~gdcmDicomDirSerie(void);
+
+   ~gdcmDicomDirSerie();
 
    virtual void Print(std::ostream &os = std::cout);
+   virtual void Write(FILE *fp, FileType t);
 /**
  * \ingroup gdcmDicomDirSerie
  * \brief   returns the IMAGE chained List for this SERIE.
  */
-   ListDicomDirImage &GetDicomDirImages() 
-      {return images;};
+   ListDicomDirImage &GetDicomDirImages() { return images; };
 /**
  * \ingroup gdcmDicomDirSerie
  * \brief   adds the passed IMAGE to the IMAGE chained List for this SERIE.
  */       
-   void AddDicomDirImage(gdcmDicomDirImage *obj) 
-      {images.push_back(obj);};
+   void AddDicomDirImage(gdcmDicomDirImage *obj) { images.push_back(obj); };
 
 /**
  * \ingroup gdcmDicomDirSerie
  * \brief   TODO
  */ 
-   gdcmDicomDirImage* NewImage(void);
+   gdcmDicomDirImage* NewImage();
     
 private:
 /**