]> Creatis software - gdcm.git/blobdiff - src/gdcmGlobal.h
Document::CheckIfEntryExist is now public
[gdcm.git] / src / gdcmGlobal.h
index e17c8ed5941126dee481b4a8b7262f8d68bb4f00..c32be0060ea1823dc34926f7cdcb6734dfc9751e 100644 (file)
@@ -1,34 +1,55 @@
-// gdcmGlobal.h
-//-----------------------------------------------------------------------------
+/*=========================================================================
+                                                                                
+  Program:   gdcm
+  Module:    $RCSfile: gdcmGlobal.h,v $
+  Language:  C++
+  Date:      $Date: 2004/12/03 20:16:58 $
+  Version:   $Revision: 1.5 $
+                                                                                
+  Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
+  l'Image). All rights reserved. See Doc/License.txt or
+  http://www.creatis.insa-lyon.fr/Public/Gdcm/License.html for details.
+                                                                                
+     This software is distributed WITHOUT ANY WARRANTY; without even
+     the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+     PURPOSE.  See the above copyright notices for more information.
+                                                                                
+=========================================================================*/
+
 #ifndef GDCMGLOBAL_H
 #define GDCMGLOBAL_H
 
-#include "gdcmVR.h"
-#include "gdcmTS.h"
-#include "gdcmDictSet.h"
-#include "gdcmDicomDirElement.h"
+#include "gdcmCommon.h"
 
+namespace gdcm 
+{
+class DictSet;
+class VR;
+class TS;
+class DicomDirElement;
 //-----------------------------------------------------------------------------
 /**
  * \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