]> Creatis software - gdcm.git/blob - src/gdcmDicomDirSerie.h
* Erroneous leading white fix:
[gdcm.git] / src / gdcmDicomDirSerie.h
1 /*=========================================================================
2                                                                                 
3   Program:   gdcm
4   Module:    $RCSfile: gdcmDicomDirSerie.h,v $
5   Language:  C++
6   Date:      $Date: 2004/06/20 18:08:47 $
7   Version:   $Revision: 1.4 $
8                                                                                 
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.
12                                                                                 
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.
16                                                                                 
17 =========================================================================*/
18
19 #ifndef GDCMDICOMDIRSERIE_H
20 #define GDCMDICOMDIRSERIE_H
21
22 #include "gdcmObject.h"
23 #include "gdcmDicomDirImage.h"
24
25 //-----------------------------------------------------------------------------
26 typedef std::list<gdcmDicomDirImage *> ListDicomDirImage;
27
28 //-----------------------------------------------------------------------------
29 class GDCM_EXPORT gdcmDicomDirSerie : public gdcmObject 
30 {
31 public:
32    gdcmDicomDirSerie(gdcmSQItem *s, TagDocEntryHT *ptagHT); 
33    gdcmDicomDirSerie(TagDocEntryHT *ptagHT); 
34    ~gdcmDicomDirSerie(void);
35
36    virtual void Print(std::ostream &os = std::cout);
37 /**
38  * \ingroup gdcmDicomDirSerie
39  * \brief   returns the IMAGE chained List for this SERIE.
40  */
41    inline ListDicomDirImage &GetDicomDirImages() 
42       {return images;};
43 /**
44  * \ingroup gdcmDicomDirSerie
45  * \brief   adds the passed IMAGE to the IMAGE chained List for this SERIE.
46  */       
47    inline void AddDicomDirImage(gdcmDicomDirImage *obj) 
48       {images.push_back(obj);};
49
50 /**
51  * \ingroup gdcmDicomDirSerie
52  * \brief   TODO
53  */ 
54    gdcmDicomDirImage* NewImage(void);
55     
56 private:
57 /**
58 * \brief chained list of DicomDirImages
59 */ 
60    ListDicomDirImage images;
61 };
62
63 //-----------------------------------------------------------------------------
64 #endif