1 /*=========================================================================
4 Module: $RCSfile: gdcmDicomDirStudy.h,v $
6 Date: $Date: 2004/09/27 08:39:06 $
7 Version: $Revision: 1.9 $
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 GDCMDICOMDIRSTUDY_H
20 #define GDCMDICOMDIRSTUDY_H
22 #include "gdcmDicomDirObject.h"
23 #include "gdcmDicomDirSerie.h"
25 //-----------------------------------------------------------------------------
26 typedef std::list<gdcmDicomDirSerie *> ListDicomDirSerie;
28 //-----------------------------------------------------------------------------
29 class GDCM_EXPORT gdcmDicomDirStudy : public gdcmDicomDirObject
32 gdcmDicomDirStudy(gdcmSQItem *s, TagDocEntryHT *ptagHT);
33 gdcmDicomDirStudy(TagDocEntryHT *ptagHT);
37 virtual void Print(std::ostream &os = std::cout);
38 virtual void Write(FILE *fp, FileType t);
40 * \ingroup gdcmDicomDirStudy
41 * \brief returns the SERIE chained List for this STUDY.
43 ListDicomDirSerie &GetDicomDirSeries() { return series; };
45 * \ingroup gdcmDicomDirStudy
46 * \brief adds the passed SERIE to the SERIE chained List for this STUDY.
48 void AddDicomDirSerie(gdcmDicomDirSerie *obj) { series.push_back(obj); };
51 * \ingroup gdcmDicomDirStudy
54 gdcmDicomDirSerie* NewSerie();
58 * \brief chained list of DicomDirSeries (to be exploited recursively)
60 ListDicomDirSerie series;
63 //-----------------------------------------------------------------------------