Program: gdcm
Module: $RCSfile: gdcmGlobal.h,v $
Language: C++
- Date: $Date: 2005/11/30 10:58:28 $
- Version: $Revision: 1.9 $
+ Date: $Date: 2007/08/22 16:14:04 $
+ Version: $Revision: 1.13 $
Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
l'Image). All rights reserved. See Doc/License.txt or
=========================================================================*/
-#ifndef GDCMGLOBAL_H
-#define GDCMGLOBAL_H
+#ifndef _GDCMGLOBAL_H_
+#define _GDCMGLOBAL_H_
#include "gdcmCommon.h"
-namespace gdcm
+namespace GDCM_NAME_SPACE
{
class DictSet;
class VR;
class Dict;
class GDCM_EXPORT Global
{
+friend class DictSet; // to allow setting DefaultPubDict without
+ // providing anybody an accesor !
public:
Global();
~Global();
/// \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