]> Creatis software - gdcm.git/blobdiff - src/gdcmGlobal.h
ENH: Adding 'gdcm' namespace. Be nice with me this was a ~13000 lines patch. Also...
[gdcm.git] / src / gdcmGlobal.h
index 10b87c68e92e7887acab62a8764f11b8272c8097..7043d6d60aa71a5aa091c9f52e21cbb41f0f75a6 100644 (file)
@@ -3,8 +3,8 @@
   Program:   gdcm
   Module:    $RCSfile: gdcmGlobal.h,v $
   Language:  C++
-  Date:      $Date: 2004/09/27 08:39:07 $
-  Version:   $Revision: 1.3 $
+  Date:      $Date: 2004/10/12 04:35:46 $
+  Version:   $Revision: 1.4 $
                                                                                 
   Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
   l'Image). All rights reserved. See Doc/License.txt or
 #include "gdcmDictSet.h"
 #include "gdcmDicomDirElement.h"
 
+namespace gdcm 
+{
+
 //-----------------------------------------------------------------------------
 /**
  * \brief   This class contains all globals elements that might be
  *          instanciated only once (singletons).
  */
-class GDCM_EXPORT gdcmGlobal {
+class GDCM_EXPORT Global
+{
 public:
-   gdcmGlobal(void);
-   ~gdcmGlobal();
+   Global();
+   ~Global();
 
-   static gdcmDictSet *GetDicts(void);
-   static gdcmVR *GetVR(void);
-   static gdcmTS *GetTS(void);
-   static gdcmDicomDirElement *GetDicomDirElements(void);
+   static DictSet *GetDicts();
+   static VR *GetVR();
+   static TS *GetTS();
+   static DicomDirElement *GetDicomDirElements();
 
 private:
-   static gdcmDictSet *Dicts; 
-   static gdcmVR *VR;
-   static gdcmTS *TS
-   static gdcmDicomDirElement *ddElem;
+   static DictSet *Dicts; 
+   static VR *ValRes;
+   static TS *TranSyn
+   static DicomDirElement *ddElem;
 };
+} // end namespace gdcm
 
 //-----------------------------------------------------------------------------
 #endif