#include <gdcmGlobal.h>
Collaboration diagram for GDCM_NAME_SPACE::Global:
Public Member Functions | |
Global () | |
constructor : populates the various H Tables | |
~Global () | |
canonical destructor | |
Static Public Member Functions | |
static DictSet * | GetDicts () |
returns a pointer to Dictionaries Table | |
static VR * | GetVR () |
returns a pointer to the 'Value Representation Table' | |
static TS * | GetTS () |
returns a pointer to the 'Transfer Syntax Table' | |
static DictGroupName * | GetDictGroupName () |
returns a pointer to the Group name correspondance table | |
static DicomDirElement * | GetDicomDirElements () |
returns a pointer to the DicomDir related elements Table | |
Static Private Attributes | |
static DictSet * | Dicts = (DictSet *)0 |
Pointer to a container, holding _all_ the Dicom Dictionaries. | |
static VR * | ValRes = (VR *)0 |
Pointer to a hash table containing the 'Value Representations'. | |
static TS * | TranSyn = (TS *)0 |
Pointer to a hash table containing the Transfer Syntax codes and their english description. | |
static DictGroupName * | GroupName = (DictGroupName *)0 |
Pointer to a hash table containing the Group codes and their english name (from NIH). | |
static DicomDirElement * | ddElem = (DicomDirElement *)0 |
Pointer to the hash table containing the Dicom Elements necessary to describe each part of a DICOMDIR. | |
static Dict * | DefaultPubDict = (Dict *)0 |
Friends | |
class | DictSet |
Definition at line 37 of file gdcmGlobal.h.
|
constructor : populates the various H Tables
Definition at line 74 of file gdcmGlobal.cxx. References ddElem, Dicts, gdcmStaticWarningMacro, GroupName, GDCM_NAME_SPACE::DicomDirElement::New(), GDCM_NAME_SPACE::DictGroupName::New(), GDCM_NAME_SPACE::TS::New(), GDCM_NAME_SPACE::VR::New(), GDCM_NAME_SPACE::DictSet::New(), TranSyn, and ValRes. 00075 { 00076 if (ValRes || TranSyn || Dicts || ddElem || GroupName ) 00077 { 00078 gdcmStaticWarningMacro( "VR or TS or Dicts or ... already allocated"); 00079 return; 00080 } 00081 Dicts = DictSet::New(); 00082 ValRes = VR::New(); 00083 TranSyn = TS::New(); 00084 GroupName = DictGroupName::New(); 00085 ddElem = DicomDirElement::New(); 00086 }
|
|
canonical destructor
Definition at line 91 of file gdcmGlobal.cxx. References ddElem, GDCM_NAME_SPACE::RefCounter::Delete(), Dicts, GroupName, TranSyn, and ValRes. 00092 { 00093 Dicts->Delete(); 00094 ValRes->Delete(); 00095 TranSyn->Delete(); 00096 GroupName->Delete(); 00097 ddElem->Delete(); 00098 }
|
|
returns a pointer to the DicomDir related elements Table
Definition at line 54 of file gdcmGlobal.h. Referenced by GDCM_NAME_SPACE::DicomDirImage::DicomDirImage(), GDCM_NAME_SPACE::DicomDirMeta::DicomDirMeta(), GDCM_NAME_SPACE::DicomDirPatient::DicomDirPatient(), GDCM_NAME_SPACE::DicomDirPrivate::DicomDirPrivate(), GDCM_NAME_SPACE::DicomDirSerie::DicomDirSerie(), GDCM_NAME_SPACE::DicomDirStudy::DicomDirStudy(), GDCM_NAME_SPACE::DicomDirVisit::DicomDirVisit(), and GDCM_NAME_SPACE::DicomDir::SetElement(). 00054 { return ddElem; }
|
|
returns a pointer to the Group name correspondance table
Definition at line 52 of file gdcmGlobal.h. 00052 { return GroupName; }
|
|
returns a pointer to Dictionaries Table
Definition at line 46 of file gdcmGlobal.h. Referenced by GDCM_NAME_SPACE::DocEntrySet::GetDictEntry(), GDCM_NAME_SPACE::DocEntry::GetName(), GDCM_NAME_SPACE::DocEntry::GetVM(), GDCM_NAME_SPACE::Document::Initialize(), GDCM_NAME_SPACE::DocEntrySet::InsertEntryString(), and GDCM_NAME_SPACE::Document::SetShaDict(). 00046 { return Dicts;}
|
|
|
returns a pointer to the 'Value Representation Table'
Definition at line 48 of file gdcmGlobal.h. Referenced by GDCM_NAME_SPACE::Document::CheckDocEntryVR(), GDCM_NAME_SPACE::Document::FindDocEntryVR(), GDCM_NAME_SPACE::DataEntry::GetValue(), GDCM_NAME_SPACE::DataEntry::GetValueCount(), GDCM_NAME_SPACE::DataEntry::Print(), GDCM_NAME_SPACE::DataEntry::SetValue(), and GDCM_NAME_SPACE::DataEntry::WriteContent(). 00048 { return ValRes; }
|
|
Definition at line 39 of file gdcmGlobal.h. |
|
Pointer to the hash table containing the Dicom Elements necessary to describe each part of a DICOMDIR.
Definition at line 69 of file gdcmGlobal.h. |
|
pointer to the Default Public Dictionnary, redundantly store here, in order not to acces the HTable every time! Definition at line 72 of file gdcmGlobal.h. Referenced by GDCM_NAME_SPACE::DictSet::DictSet(), GDCM_NAME_SPACE::DictSet::GetDefaultPubDict(), and GDCM_NAME_SPACE::DictSet::~DictSet(). |
|
Pointer to a container, holding _all_ the Dicom Dictionaries.
Definition at line 58 of file gdcmGlobal.h. |
|
Pointer to a hash table containing the Group codes and their english name (from NIH).
Definition at line 66 of file gdcmGlobal.h. |
|
Pointer to a hash table containing the Transfer Syntax codes and their english description.
Definition at line 63 of file gdcmGlobal.h. |
|
Pointer to a hash table containing the 'Value Representations'.
Definition at line 60 of file gdcmGlobal.h. |