X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=src%2FgdcmGlobal.h;h=893af4151528d7b933ed38d25a6a0727b5159c4c;hb=e51bf0565bbe4c0e269dd941cb4071ebde6012e4;hp=10b87c68e92e7887acab62a8764f11b8272c8097;hpb=fd37aa842b5d31ca266b6bda8a77f3201d02338d;p=gdcm.git diff --git a/src/gdcmGlobal.h b/src/gdcmGlobal.h index 10b87c68..893af415 100644 --- a/src/gdcmGlobal.h +++ b/src/gdcmGlobal.h @@ -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: 2005/02/04 16:51:36 $ + Version: $Revision: 1.7 $ Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de l'Image). All rights reserved. See Doc/License.txt or @@ -19,32 +19,43 @@ #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; + /// 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 the hash table containing the Dicom Elements necessary + /// to describe each part of a DICOMDIR + static DicomDirElement *ddElem; }; +} // end namespace gdcm //----------------------------------------------------------------------------- #endif