1 /*=========================================================================
4 Module: $RCSfile: gdcmDicomDirPatient.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 =========================================================================*/
22 #include "gdcmObject.h"
23 #include "gdcmDicomDirStudy.h"
24 #include "gdcmSQItem.h"
25 //-----------------------------------------------------------------------------
26 typedef std::list<gdcmDicomDirStudy *> ListDicomDirStudy;
28 //-----------------------------------------------------------------------------
29 class GDCM_EXPORT gdcmDicomDirPatient : public gdcmObject
32 gdcmDicomDirPatient(gdcmSQItem *s, TagDocEntryHT *ptagHT);
33 gdcmDicomDirPatient(TagDocEntryHT *ptagHT);
35 ~gdcmDicomDirPatient(void);
37 virtual void Print(std::ostream &os = std::cout);
39 * \ingroup gdcmDicomDirPatient
40 * \brief returns the STUDY chained List for this PATIENT.
42 inline ListDicomDirStudy &GetDicomDirStudies()
45 * \ingroup gdcmDicomDirPatient
46 * \brief adds the passed STUDY to the STUDY chained List for this PATIENT.
48 inline void AddDicomDirStudy(gdcmDicomDirStudy *obj)
49 {studies.push_back(obj);};
51 * \ingroup gdcmDicomDirPatient
54 gdcmDicomDirStudy* NewStudy(void);
59 * \brief chained list of DicomDirStudy
61 ListDicomDirStudy studies;
64 //-----------------------------------------------------------------------------