How to Disable the Automatic Loading of the default DICOM IOD Table

The default DICOM IOD Table is a large table with many entries.  When the DICOM library is initially loaded, the DICOM IOD Table is not initially loaded. It will be automatically loaded the first time it is accessed.  Specifically, the first call to any of the following methods will cause the automatic load of the default DICOM Context Group table (if it has NOT already been loaded):

LDicomIOD::Insert

LDicomIOD::Delete

LDicomIOD::GetRoot

LDicomIOD::GetParent

LDicomIOD::GetChild

LDicomIOD::GetFirst

LDicomIOD::GetLast

LDicomIOD::GetPrev

LDicomIOD::GetNext

LDicomIOD::Exists

LDicomIOD::Find

LDicomIOD::FindClass

LDicomIOD::FindModule

LDicomIOD::FindIndexModule

LDicomIOD::FindClass

LDicomIOD::SetName

LDicomIOD::SetDescription

To disable the automatic load of the Default DICOM IOD Table, call any of the following methods in your initialization code (before calling any other DICOM methods):

LDicomIOD::Default

LDicomIOD::Reset

Therefore, to prevent the default DICOM IOD Table from automatically loading, call LDicomIOD::Reset in your application initialization code.