X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=src%2FgdcmDicomDirSerie.h;h=ae419146850584f0423711beea49e674ccb5c4b3;hb=3fd520b58c8d1939994de2c63cc038c3e7ac9522;hp=c009dc081f5f69dec16f051120c52517d13db356;hpb=30d2b02b938fe912d866b40ca2b9842961481ab2;p=gdcm.git diff --git a/src/gdcmDicomDirSerie.h b/src/gdcmDicomDirSerie.h index c009dc08..ae419146 100644 --- a/src/gdcmDicomDirSerie.h +++ b/src/gdcmDicomDirSerie.h @@ -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: /**