#include <gdcmGlobal.h>
Collaboration diagram for gdcm::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. |
Definition at line 36 of file gdcmGlobal.h.
|
constructor : populates the various H Tables
Definition at line 66 of file gdcmGlobal.cxx. References ddElem, Dicts, gdcmWarningMacro, GroupName, gdcm::DicomDirElement::New(), gdcm::DictGroupName::New(), gdcm::VR::New(), gdcm::DictSet::New(), TranSyn, and ValRes. 00067 { 00068 if (ValRes || TranSyn || Dicts || ddElem) 00069 { 00070 gdcmWarningMacro( "VR or TS or Dicts already allocated"); 00071 return; 00072 } 00073 Dicts = DictSet::New(); 00074 ValRes = VR::New(); 00075 TranSyn = TS::New(); 00076 GroupName = DictGroupName::New(); 00077 ddElem = DicomDirElement::New(); 00078 }
|
|
canonical destructor
Definition at line 83 of file gdcmGlobal.cxx. References ddElem, gdcm::RefCounter::Delete(), Dicts, GroupName, TranSyn, and ValRes. 00084 { 00085 Dicts->Delete(); 00086 ValRes->Delete(); 00087 TranSyn->Delete(); 00088 GroupName->Delete(); 00089 ddElem->Delete(); 00090 }
|
|
returns a pointer to the DicomDir related elements Table
Definition at line 129 of file gdcmGlobal.cxx. References ddElem. Referenced by gdcm::DicomDirImage::DicomDirImage(), gdcm::DicomDirMeta::DicomDirMeta(), gdcm::DicomDirPatient::DicomDirPatient(), gdcm::DicomDirSerie::DicomDirSerie(), gdcm::DicomDirStudy::DicomDirStudy(), gdcm::DicomDirVisit::DicomDirVisit(), and gdcm::DicomDir::SetElement(). 00130 { 00131 return ddElem; 00132 }
|
|
returns a pointer to the Group name correspondance table
Definition at line 121 of file gdcmGlobal.cxx. References GroupName. 00122 { 00123 return GroupName; 00124 }
|
|
returns a pointer to Dictionaries Table
Definition at line 97 of file gdcmGlobal.cxx. References Dicts. Referenced by gdcm::FileHelper::CheckMandatoryElements(), gdcm::FileHelper::CheckMandatoryEntry(), gdcm::DicomDirObject::FillObject(), gdcm::DocEntrySet::GetDictEntry(), gdcm::Document::Initialize(), gdcm::FileHelper::SetMandatoryEntry(), and gdcm::Document::SetShaDict(). 00098 { 00099 return Dicts; 00100 }
|
|
returns a pointer to the 'Transfer Syntax Table'
Definition at line 113 of file gdcmGlobal.cxx. References TranSyn. Referenced by gdcm::File::ComputeJPEGFragmentInfo(), gdcm::File::ComputeRLEInfo(), gdcm::File::DoTheLoadingJob(), gdcm::Document::GetTransferSyntaxName(), gdcm::PixelReadConvert::GrabInformationsFromFile(), gdcm::Document::HandleOutOfGroup0002(), gdcm::DataEntry::Print(), gdcm::FileHelper::SetWriteFileTypeToExplicitVR(), gdcm::FileHelper::SetWriteFileTypeToImplicitVR(), and gdcm::FileHelper::SetWriteFileTypeToJPEG(). 00114 { 00115 return TranSyn; 00116 }
|
|
returns a pointer to the 'Value Representation Table'
Definition at line 105 of file gdcmGlobal.cxx. References ValRes. Referenced by gdcm::Document::CheckDocEntryVR(), gdcm::DocEntrySet::GetEntryForcedAsciiValue(), gdcm::DataEntry::GetValue(), gdcm::DataEntry::GetValueCount(), gdcm::Document::LoadEntryBinArea(), gdcm::DataEntry::Print(), gdcm::Document::ReadNextDocEntry(), gdcm::DataEntry::SetValue(), and gdcm::DataEntry::WriteContent(). 00106 { 00107 return ValRes; 00108 }
|
|
Pointer to the hash table containing the Dicom Elements necessary to describe each part of a DICOMDIR.
Definition at line 61 of file gdcmGlobal.h. Referenced by GetDicomDirElements(), Global(), and ~Global(). |
|
Pointer to a container, holding _all_ the Dicom Dictionaries.
Definition at line 50 of file gdcmGlobal.h. Referenced by GetDicts(), Global(), and ~Global(). |
|
Pointer to a hash table containing the Group codes and their english name (from NIH).
Definition at line 58 of file gdcmGlobal.h. Referenced by GetDictGroupName(), Global(), and ~Global(). |
|
Pointer to a hash table containing the Transfer Syntax codes and their english description.
Definition at line 55 of file gdcmGlobal.h. |
|
Pointer to a hash table containing the 'Value Representations'.
Definition at line 52 of file gdcmGlobal.h. |