X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=src%2FgdcmGlobal.h;h=74997e6395fd1d179750e9d8beef6d59ce107980;hb=a36f19bbc17a18bb85e99c11e6290642189ec6a2;hp=677f97cc6c2f3c8f2028591c78e35aff6048d5e9;hpb=2012716d624d631dcdb825fdd4470908e115a717;p=gdcm.git diff --git a/src/gdcmGlobal.h b/src/gdcmGlobal.h index 677f97cc..74997e63 100644 --- a/src/gdcmGlobal.h +++ b/src/gdcmGlobal.h @@ -3,12 +3,12 @@ Program: gdcm Module: $RCSfile: gdcmGlobal.h,v $ Language: C++ - Date: $Date: 2004/06/20 18:08:47 $ - Version: $Revision: 1.2 $ + Date: $Date: 2005/04/05 10:56:25 $ + Version: $Revision: 1.8 $ 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.htm for details. + 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 @@ -19,32 +19,48 @@ #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 DictGroupName; +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 DictGroupName *GetDictGroupName(); + static DicomDirElement *GetDicomDirElements(); private: - static gdcmDictSet *Dicts; - static gdcmVR *VR; - static gdcmTS *TS; - static gdcmDicomDirElement *ddElem; + /// Pointer to a container, holding _all_ the Dicom Dictionaries. + static DictSet *Dicts; + /// Pointer to a hash table containing the 'Value Representations'. + static VR *ValRes; + /// \brief Pointer to a hash table containing the Transfer Syntax codes + /// and their english description + static TS *TranSyn; + /// \brief Pointer to a hash table containing the Group codes + /// and their english name (from NIH) + static DictGroupName *GroupName; + /// \brief Pointer to the hash table containing the Dicom Elements necessary + /// to describe each part of a DICOMDIR + static DicomDirElement *ddElem; }; +} // end namespace gdcm //----------------------------------------------------------------------------- #endif