X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=src%2FgdcmGlobal.h;h=adffda9c4983bcbaebc3e0c687bcad1f2f975a97;hb=4b19bf900463affaf44f2a0f3b4db6ec575bc7b2;hp=4a68c6397a5656ba9a6e820222540bdcb558da9a;hpb=f8a2fc5a9738eda28a14f15c3d0180be1ba1373d;p=gdcm.git diff --git a/src/gdcmGlobal.h b/src/gdcmGlobal.h index 4a68c639..adffda9c 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/11/30 10:58:28 $ - Version: $Revision: 1.9 $ + Date: $Date: 2006/03/22 13:19:25 $ + Version: $Revision: 1.10 $ Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de l'Image). All rights reserved. See Doc/License.txt or @@ -36,6 +36,8 @@ class DicomDirElement; class Dict; class GDCM_EXPORT Global { +friend class DictSet; // to allow setting DefaultPubDict without + // providing any body an accesor ! public: Global(); ~Global(); @@ -65,6 +67,9 @@ private: /// \brief Pointer to the hash table containing the Dicom Elements necessary /// to describe each part of a DICOMDIR static DicomDirElement *ddElem; + /// pointer to the Default Public Dictionnary, redundantly store here, + /// in order not to acces the HTable every time! + static Dict *DefaultPubDict; }; } // end namespace gdcm