Products | Support | Send comments on this topic. | Email a link to this topic. | Back to Getting Started | Help Version 18.0.10.23
LEADTOOLS DICOM C++ Class Library Help

How to Disable the Automatic Loading of the default DICOM Context Group Table

Show in webframe

The default DICOM Context Group table is a large table with many entries.  When the DICOM library is initially loaded, the DICOM Context Group 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):

LDicomContextGroup::GetFirst

LDicomContextGroup::GetLast

LDicomContextGroup::GetNext

LDicomContextGroup::GetPrev

LDicomContextGroup::GetCount

LDicomContextGroup::Find

LDicomContextGroup::FindIndex

LDicomContextGroup::Insert

LDicomContextGroup::Delete

LDicomContextGroup::Exists

LDicomContextGroup::GetFirstCodedConcept

LDicomContextGroup::GetLastCodedConcept

LDicomContextGroup::GetNextCodedConcept

LDicomContextGroup::GetPrevCodedConcept

LDicomContextGroup::GetContextGroup

LDicomContextGroup::GetCountCodedConcept

LDicomContextGroup::FindCodedConcept

LDicomContextGroup::SetCodeMeaning

LDicomContextGroup::InsertCodedConcept

LDicomContextGroup::DeleteCodedConcept

LDicomContextGroup::ExistsCodedConcept

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

LDicomContextGroup::Load

LDicomContextGroup::Reset

LDicomContextGroup::Default

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

Products | Support | Contact Us | Copyright Notices
© 2006-2014 All Rights Reserved. LEAD Technologies, Inc.