LDicomDS::FreeValue

#include "Ltdic.h"

L_VOID LDicomDS::FreeValue(pElement)

pDICOMELEMENT pElement;

/* pointer to a DICOMELEMENT structure */

Frees the memory for a value.

Parameter

Description

pElement

Pointer to a DICOMELEMENT structure within the Data Set.

Returns

None.

Comments

Calling this function following a call to one of the LDicomDS::GetxxxValue functions or the LDicomDS::GetCountValue function will free the memory allocated for the retrieved value. This memory will be freed anyway when the Data Set is freed. Using this function allows you to minimize the memory use in your application.

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::GetBinaryValue, LDicomDS::GetCharValue, LDicomDS::GetShortValue, LDicomDS::GetLongValue, LDicomDS::GetFloatValue, LDicomDS::GetDoubleValue, LDicomDS::GetAgeValue, LDicomDS::GetStringValue, LDicomDS::GetDateValue, LDicomDS::GetTimeValue, LDicomDS::GetDateTimeValue, LDicomDS::GetCountValue

Topics:

Working with Data Sets

 

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

Example

For an example, refer to LDicomDS::GetCharValue.