]> Creatis software - gdcm.git/blob - src/gdcmDicomDirSerie.h
c009dc081f5f69dec16f051120c52517d13db356
[gdcm.git] / src / gdcmDicomDirSerie.h
1 // gdcmDicomDirSerie.h
2 //-----------------------------------------------------------------------------
3 #ifndef GDCMDICOMDIRSERIE_H
4 #define GDCMDICOMDIRSERIE_H
5
6 #include "gdcmObject.h"
7 #include "gdcmDicomDirImage.h"
8
9 //-----------------------------------------------------------------------------
10 typedef std::list<gdcmDicomDirImage *> ListDicomDirImage;
11
12 //-----------------------------------------------------------------------------
13 class GDCM_EXPORT gdcmDicomDirSerie : public gdcmObject 
14 {
15 public:
16    gdcmDicomDirSerie(gdcmSQItem *s, TagDocEntryHT *ptagHT); 
17    gdcmDicomDirSerie(TagDocEntryHT *ptagHT); 
18    ~gdcmDicomDirSerie(void);
19
20    virtual void Print(std::ostream &os = std::cout);
21 /**
22  * \ingroup gdcmDicomDirSerie
23  * \brief   returns the IMAGE chained List for this SERIE.
24  */
25    inline ListDicomDirImage &GetDicomDirImages() 
26       {return images;};
27 /**
28  * \ingroup gdcmDicomDirSerie
29  * \brief   adds the passed IMAGE to the IMAGE chained List for this SERIE.
30  */       
31    inline void AddDicomDirImage(gdcmDicomDirImage *obj) 
32       {images.push_back(obj);};
33
34 /**
35  * \ingroup gdcmDicomDirSerie
36  * \brief   TODO
37  */ 
38    gdcmDicomDirImage* NewImage(void);
39     
40 private:
41 /**
42 * \brief chained list of DicomDirImages
43 */ 
44    ListDicomDirImage images;
45 };
46
47 //-----------------------------------------------------------------------------
48 #endif