LDicomDS::ResetDS

#include "Ltdic.h"

L_VOID LDicomDS::ResetDS(L_VOID)

Removes all items from the Data Set.

Returns

None.

Comments

To allocate the memory for a Data Set, call LDicomDS::LDicomDS.

To create a Data Set that includes elements for a specific class, use LDicomDS::InitDS.

Required DLLs and Libraries

LTDIC

For a listing of the exact DLLs and Libraries needed, based on the toolkit version, refer to Files To Be Included With Your Application

See Also

Functions:

LDicomDS::DeleteElement, LDicomDS::DeleteModule

Topics:

Working with Data Sets

 

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

Example

This example removes all elements from the Data Set.

L_INT LDicomDS_ResetDSExample()
{
   LDicomDS*   pDS;
   pDS = new LDicomDS(NULL);
   pDS->InitDS( CLASS_CT_IMAGE_STORAGE, 0); 
   pDS->ResetDS();
   delete pDS;
   return DICOM_SUCCESS;
}