1 /*=========================================================================
4 Module: $RCSfile: gdcmDicomDirSerie.h,v $
6 Date: $Date: 2004/12/03 20:16:57 $
7 Version: $Revision: 1.16 $
9 Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
10 l'Image). All rights reserved. See Doc/License.txt or
11 http://www.creatis.insa-lyon.fr/Public/Gdcm/License.html for details.
13 This software is distributed WITHOUT ANY WARRANTY; without even
14 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
15 PURPOSE. See the above copyright notices for more information.
17 =========================================================================*/
19 #ifndef GDCMDICOMDIRSERIE_H
20 #define GDCMDICOMDIRSERIE_H
22 #include "gdcmDicomDirObject.h"
27 //-----------------------------------------------------------------------------
28 typedef std::list<DicomDirImage *> ListDicomDirImage;
30 //-----------------------------------------------------------------------------
31 class GDCM_EXPORT DicomDirSerie : public DicomDirObject
37 void Print( std::ostream& os = std::cout );
38 void WriteContent( std::ofstream* fp, FileType t );
41 * \ingroup DicomDirSerie
42 * \brief returns the IMAGE chained List for this SERIE.
44 ListDicomDirImage const & GetDicomDirImages() const { return Images; };
47 * \ingroup DicomDirSerie
48 * \brief adds the passed IMAGE to the IMAGE chained List for this SERIE.
50 void AddDicomDirImage(DicomDirImage *obj) { Images.push_back(obj); };
53 * \ingroup DicomDirSerie
56 DicomDirImage* NewImage();
60 * \brief chained list of DicomDirImages
62 ListDicomDirImage Images;
64 } // end namespace gdcm
65 //-----------------------------------------------------------------------------