]> Creatis software - gdcm.git/blobdiff - src/gdcmDicomDirSerie.h
- now, DicomDir stuff stakes into account the 'new' structure
[gdcm.git] / src / gdcmDicomDirSerie.h
index c009dc081f5f69dec16f051120c52517d13db356..ae419146850584f0423711beea49e674ccb5c4b3 100644 (file)
@@ -1,5 +1,21 @@
-// gdcmDicomDirSerie.h
-//-----------------------------------------------------------------------------
+/*=========================================================================
+                                                                                
+  Program:   gdcm
+  Module:    $RCSfile: gdcmDicomDirSerie.h,v $
+  Language:  C++
+  Date:      $Date: 2004/08/26 15:29:52 $
+  Version:   $Revision: 1.7 $
+                                                                                
+  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.
+                                                                                
+     This software is distributed WITHOUT ANY WARRANTY; without even
+     the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+     PURPOSE.  See the above copyright notices for more information.
+                                                                                
+=========================================================================*/
+
 #ifndef GDCMDICOMDIRSERIE_H
 #define GDCMDICOMDIRSERIE_H
 
@@ -15,27 +31,27 @@ class GDCM_EXPORT gdcmDicomDirSerie : public gdcmObject
 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.
  */
-   inline ListDicomDirImage &GetDicomDirImages() 
-      {return images;};
+   ListDicomDirImage &GetDicomDirImages() { return images; };
 /**
  * \ingroup gdcmDicomDirSerie
  * \brief   adds the passed IMAGE to the IMAGE chained List for this SERIE.
  */       
-   inline 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:
 /**