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

Example

/* This example removes all elements from the Data Set */

L_VOID Test()
{
   LDicomDS *pDS;

   pDS = new LDicomDS(NULL);

   pDS->InitDS( CLASS_CT_IMAGE_STORAGE, 0); 

   pDS->ResetDS();

   delete pDS;
}