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, call LDicomDS::InitDS.

Required DLLs and Libraries

Platforms

Win32, x64

See Also

Functions

Topics

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; 
} 

Help Version 20.0.2020.4.2
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2020 LEAD Technologies, Inc. All Rights Reserved.

LEADTOOLS DICOM C++ Class Library Help