LDicomDS::GetCountValue

#include "Ltdic.h"

L_UINT32 LDicomDS::GetCountValue(pElement)

pDICOMELEMENT pElement;

/* pointer to a DICOMELEMENT structure */

Returns the number of values stored in the Value Field of the specified element.

Parameter

Description

pElement

Pointer to a DICOMELEMENT structure within the Data Set.

Returns

The number of values stored in the Value Field of the specified element.

Comments

For more information on retrieving multiple values from the Value Field, refer to the LDicomDS::GetxxxValue functions.

To minimize memory use in your application, you can free the memory allocated for this function to return the value by calling LDicomDS::FreeValue following the call to this function.

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

Platforms

Win32, x64

See Also

Function:

LDicomDS::GetInfoDS, LDicomDS::GetPreamble, LDicomDS::GetBinaryValue, LDicomDS::GetCharValue, LDicomDS::GetShortValue, LDicomDS::GetLongValue, LDicomDS::GetFloatValue, LDicomDS::GetDoubleValue, LDicomDS::GetAgeValue, LDicomDS::GetDateValue, LDicomDS::GetDateTimeValue, LDicomDS::GetTimeValue

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.