#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 37 of file gdcmGlobal.h.
|
constructor : populates the various H Tables
Definition at line 72 of file gdcmGlobal.cxx. References ddElem, Dicts, gdcmStaticWarningMacro, GroupName, gdcm::DicomDirElement::New(), gdcm::DictGroupName::New(), gdcm::VR::New(), gdcm::DictSet::New(), TranSyn, and ValRes. 00073 { 00074 if (ValRes || TranSyn || Dicts || ddElem || GroupName ) 00075 { 00076 gdcmStaticWarningMacro( "VR or TS or Dicts or ... already allocated"); 00077 return; 00078 } 00079 Dicts = DictSet::New(); 00080 ValRes = VR::New(); 00081 TranSyn = TS::New(); 00082 GroupName = DictGroupName::New(); 00083 ddElem = DicomDirElement::New(); 00084 }
|
|
canonical destructor
Definition at line 89 of file gdcmGlobal.cxx. References ddElem, gdcm::RefCounter::Delete(), Dicts, GroupName, TranSyn, and ValRes. 00090 { 00091 Dicts->Delete(); 00092 ValRes->Delete(); 00093 TranSyn->Delete(); 00094 GroupName->Delete(); 00095 ddElem->Delete(); 00096 }
|
|
returns a pointer to the DicomDir related elements Table
Definition at line 52 of file gdcmGlobal.h. Referenced by gdcm::DicomDirImage::DicomDirImage(), gdcm::DicomDirMeta::DicomDirMeta(), gdcm::DicomDirPatient::DicomDirPatient(), gdcm::DicomDirSerie::DicomDirSerie(), gdcm::DicomDirStudy::DicomDirStudy(), gdcm::DicomDirVisit::DicomDirVisit(), and gdcm::DicomDir::SetElement(). 00052 { return ddElem; }
|
|
returns a pointer to the Group name correspondance table
Definition at line 50 of file gdcmGlobal.h. 00050 { return GroupName; }
|
|
returns a pointer to Dictionaries Table
Definition at line 44 of file gdcmGlobal.h. Referenced by gdcm::FileHelper::CheckMandatoryElements(), gdcm::FileHelper::CheckMandatoryEntry(), gdcm::DicomDirObject::FillObject(), gdcm::DocEntrySet::GetDictEntry(), gdcm::Document::Initialize(), gdcm::FileHelper::SetMandatoryEntry(), and gdcm::Document::SetShaDict(). 00044 { return Dicts;}
|
|
returns a pointer to the 'Transfer Syntax Table'
Definition at line 48 of file gdcmGlobal.h. 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(). 00048 { return TranSyn; }
|
|
returns a pointer to the 'Value Representation Table'
Definition at line 46 of file gdcmGlobal.h. Referenced by gdcm::Document::CheckDocEntryVR(), gdcm::DataEntry::GetValue(), gdcm::DataEntry::GetValueCount(), gdcm::Document::LoadEntryBinArea(), gdcm::DataEntry::Print(), gdcm::Document::ReadNextDocEntry(), gdcm::DataEntry::SetValue(), and gdcm::DataEntry::WriteContent(). 00046 { return ValRes; }
|
|
Pointer to the hash table containing the Dicom Elements necessary to describe each part of a DICOMDIR.
Definition at line 67 of file gdcmGlobal.h. |
|
Pointer to a container, holding _all_ the Dicom Dictionaries.
Definition at line 56 of file gdcmGlobal.h. |
|
Pointer to a hash table containing the Group codes and their english name (from NIH).
Definition at line 64 of file gdcmGlobal.h. |
|
Pointer to a hash table containing the Transfer Syntax codes and their english description.
Definition at line 61 of file gdcmGlobal.h. |
|
Pointer to a hash table containing the 'Value Representations'.
Definition at line 58 of file gdcmGlobal.h. |