LDicomTag::GetPrev

Summary

Returns a pointer to the item in the Data Element Tag Table that immediately precedes the specified item.

Syntax

#include "Ltdic.h"

static pDICOMTAG LDicomTag::GetPrev(pTag)

Parameters

pDICOMTAG pTag

Pointer to a DICOMTAGstructure that contains an item in the Data Element Tag Table. A pointer to the item in the table that immediately precedes this item will be returned.

Returns

Value Meaning
!NULL A pointer to a DICOMTAG structure that contains the item in the Data Element Tag Table that immediately precedes the item specified in pTag.
NULL There is not an item preceding pTag. (pTag is the first item in the table.)

Comments

The following functions will also help you navigate the Data Element Tag Table:

To determine the number of entries in the Data Element Tag Table, call LDicomTag::GetCount.

Required DLLs and Libraries

Platforms

Win32, x64

See Also

Functions

Topics

Example

For an example, refer to LDicomTag::GetLast.

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

LEADTOOLS DICOM C++ Class Library Help
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.