1 /*=========================================================================
4 Module: $RCSfile: gdcmDicomDirStudy.h,v $
6 Date: $Date: 2004/06/20 18:08:47 $
7 Version: $Revision: 1.4 $
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.htm 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 "gdcmObject.h"
23 #include "gdcmDicomDirSerie.h"
25 //-----------------------------------------------------------------------------
26 typedef std::list<gdcmDicomDirSerie *> ListDicomDirSerie;
28 //-----------------------------------------------------------------------------
29 class GDCM_EXPORT gdcmDicomDirStudy : public gdcmObject {
31 gdcmDicomDirStudy(gdcmSQItem *s, TagDocEntryHT *ptagHT);
32 gdcmDicomDirStudy(TagDocEntryHT *ptagHT);
34 ~gdcmDicomDirStudy(void);
36 virtual void Print(std::ostream &os = std::cout);
38 * \ingroup gdcmDicomDirStudy
39 * \brief returns the SERIE chained List for this STUDY.
41 inline ListDicomDirSerie &GetDicomDirSeries()
44 * \ingroup gdcmDicomDirStudy
45 * \brief adds the passed SERIE to the SERIE chained List for this STUDY.
47 inline void AddDicomDirSerie(gdcmDicomDirSerie *obj)
48 {series.push_back(obj);};
51 * \ingroup gdcmDicomDirStudy
54 gdcmDicomDirSerie* NewSerie(void);
58 * \brief chained list of DicomDirSeries (to be exploited recursively)
60 ListDicomDirSerie series;
63 //-----------------------------------------------------------------------------