]> Creatis software - gdcm.git/blob - src/gdcmGlobal.h
* src/gdcmUtil.[cxx|h] split in two. Additional file gdcmGlobal.[cxx|h]
[gdcm.git] / src / gdcmGlobal.h
1 // gdcmGlobal.h
2 //-----------------------------------------------------------------------------
3 #ifndef GDCMGLOBAL_H
4 #define GDCMGLOBAL_H
5
6 #include "gdcmVR.h"
7 #include "gdcmTS.h"
8 #include "gdcmDictSet.h"
9 #include "gdcmDicomDirElement.h"
10
11 //-----------------------------------------------------------------------------
12 /**
13  * \brief   This class contains all globals elements that might be
14  *          instanciated only once (singletons).
15  */
16 class GDCM_EXPORT gdcmGlobal {
17 public:
18    gdcmGlobal(void);
19    ~gdcmGlobal();
20
21    static gdcmDictSet *GetDicts(void);
22    static gdcmVR *GetVR(void);
23    static gdcmTS *GetTS(void);
24    static gdcmDicomDirElement *GetDicomDirElements(void);
25
26 private:
27    static gdcmDictSet *Dicts; 
28    static gdcmVR *VR;
29    static gdcmTS *TS; 
30    static gdcmDicomDirElement *ddElem;
31 };
32
33 //-----------------------------------------------------------------------------
34 #endif