LDicomTag::Find

#include "Ltdic.h"

static pDICOMTAG LDicomTag::Find(nCode)

Returns a pointer to a structure that contains the item with the specified tag.

Parameters

L_UINT32 nCode

A tag. A pointer to the item in the Data Element Tag Table that has this tag will be returned.

Returns

Value Meaning
!NULL A pointer to a DICOMTAG structure that contains the item with the specified tag.
NULL There is not an item with the specified tag.

Comments

As an example, if you call this function with nCode set to TAG_STUDY_DATE, and the Data Element Tag Table filled with the default values, the DICOMTAG structure pointed to by the returned pointer will contain TAG_STUDY_DATE, 0x00080020, 0xFFFFFFFF, "Study Date", VR_DA, 1, 1, and 1.

For the default values for the Data Element Tag Table, refer to the Default Data Element Tag Table.

Required DLLs and Libraries

Platforms

Win32, x64

See Also

Functions

Topics

Example

For an example, refer to LDicomTag::Delete or LDicomTag::SetName.

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