gdcmGlobal.h

Go to the documentation of this file.
00001 /*=========================================================================
00002                                                                                 
00003   Program:   gdcm
00004   Module:    $RCSfile: gdcmGlobal.h,v $
00005   Language:  C++
00006   Date:      $Date: 2007/08/22 16:14:04 $
00007   Version:   $Revision: 1.13 $
00008                                                                                 
00009   Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
00010   l'Image). All rights reserved. See Doc/License.txt or
00011   http://www.creatis.insa-lyon.fr/Public/Gdcm/License.html for details.
00012                                                                                 
00013      This software is distributed WITHOUT ANY WARRANTY; without even
00014      the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
00015      PURPOSE.  See the above copyright notices for more information.
00016                                                                                 
00017 =========================================================================*/
00018 
00019 #ifndef _GDCMGLOBAL_H_
00020 #define _GDCMGLOBAL_H_
00021 
00022 #include "gdcmCommon.h"
00023 
00024 namespace GDCM_NAME_SPACE 
00025 {
00026 class DictSet;
00027 class VR;
00028 class TS;
00029 class DictGroupName;
00030 class DicomDirElement;
00031 //-----------------------------------------------------------------------------
00036 class Dict;
00037 class GDCM_EXPORT Global
00038 {
00039 friend class DictSet; // to allow setting DefaultPubDict without 
00040                       // providing anybody an accesor !
00041 public:
00042    Global();
00043    ~Global();
00044 
00046    static DictSet *GetDicts() { return Dicts;}
00048    static VR *GetVR(){ return ValRes; }
00050    static TS *GetTS(){ return TranSyn; }
00052    static DictGroupName *GetDictGroupName() { return GroupName; }
00054    static DicomDirElement *GetDicomDirElements(){ return ddElem; }
00055 
00056 private:
00058    static DictSet *Dicts;
00060    static VR *ValRes;
00063    static TS *TranSyn; 
00066    static DictGroupName *GroupName; 
00069    static DicomDirElement *ddElem;
00072    static Dict *DefaultPubDict; 
00073 };
00074 } // end namespace gdcm
00075 
00076 //-----------------------------------------------------------------------------
00077 #endif

Generated on Fri Aug 24 12:53:16 2007 for gdcm by  doxygen 1.4.6