X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=src%2FgdcmGlobal.h;h=4a68c6397a5656ba9a6e820222540bdcb558da9a;hb=83d626ec3d3111a6d14586246b6e2dda56f0ab86;hp=7be8db87318a6a78c431e573902506ddd03fc6a0;hpb=d1c68c2c2ae9fadf927053150f7fbc625a7c7366;p=gdcm.git diff --git a/src/gdcmGlobal.h b/src/gdcmGlobal.h index 7be8db87..4a68c639 100644 --- a/src/gdcmGlobal.h +++ b/src/gdcmGlobal.h @@ -3,8 +3,8 @@ Program: gdcm Module: $RCSfile: gdcmGlobal.h,v $ Language: C++ - Date: $Date: 2005/02/01 10:29:55 $ - Version: $Revision: 1.6 $ + Date: $Date: 2005/11/30 10:58:28 $ + Version: $Revision: 1.9 $ Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de l'Image). All rights reserved. See Doc/License.txt or @@ -26,33 +26,44 @@ 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 Dict; class GDCM_EXPORT Global { public: Global(); ~Global(); - static DictSet *GetDicts(); - static VR *GetVR(); - static TS *GetTS(); - static DicomDirElement *GetDicomDirElements(); + /// \brief returns a pointer to Dictionaries Table + static DictSet *GetDicts() { return Dicts;} + /// \brief returns a pointer to the 'Value Representation Table' + static VR *GetVR(){ return ValRes; } + /// \brief returns a pointer to the 'Transfer Syntax Table' + static TS *GetTS(){ return TranSyn; } + /// \brief returns a pointer to the Group name correspondance table + static DictGroupName *GetDictGroupName() { return GroupName; } + /// \brief returns a pointer to the DicomDir related elements Table + static DicomDirElement *GetDicomDirElements(){ return ddElem; } private: /// Pointer to a container, holding _all_ the Dicom Dictionaries. static DictSet *Dicts; /// Pointer to a hash table containing the 'Value Representations'. static VR *ValRes; - /// Pointer to a hash table containing the Transfer Syntax codes and their - /// english description + /// \brief Pointer to a hash table containing the Transfer Syntax codes + /// and their english description static TS *TranSyn; - /// Pointer to the hash table containing the Dicom Elements necessary - /// to describe each part of a DICOMDIR + /// \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