X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=src%2FgdcmDicomDirSerie.h;h=308045a87533a68f42a40b5f5b803506ab95b392;hb=28d134e7a6dcc11f3703bb8ec85334636f57f56e;hp=f96f18bfca3102858131de3e7212218249848547;hpb=2012716d624d631dcdb825fdd4470908e115a717;p=gdcm.git diff --git a/src/gdcmDicomDirSerie.h b/src/gdcmDicomDirSerie.h index f96f18bf..308045a8 100644 --- a/src/gdcmDicomDirSerie.h +++ b/src/gdcmDicomDirSerie.h @@ -3,12 +3,12 @@ Program: gdcm Module: $RCSfile: gdcmDicomDirSerie.h,v $ Language: C++ - Date: $Date: 2004/06/20 18:08:47 $ - Version: $Revision: 1.4 $ + 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 @@ -19,39 +19,39 @@ #ifndef GDCMDICOMDIRSERIE_H #define GDCMDICOMDIRSERIE_H -#include "gdcmObject.h" +#include "gdcmDicomDirObject.h" #include "gdcmDicomDirImage.h" //----------------------------------------------------------------------------- typedef std::list 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. */ - 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: /**