LEADTOOLS DICOM C++ Class Library Help > Classes and Member Functions > LDicomTag > LDicomTag Class Members > LDicomTag::GetPrev |
#include "Ltdic.h"
static pDICOMTAG LDicomTag::GetPrev(pTag)
pDICOMTAG pTag; |
/* pointer to a DICOMTAG structure */ |
Returns a pointer to the item in the Data Element Tag Table that immediately precedes the specified item.
Parameter |
Description |
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
!NULL |
A pointer to a DICOMTAGstructure 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, use LDicomTag::GetCount.
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 |
Win32, x64
See Also
Functions: |
LDicomTag::GetFirst, LDicomTag::GetLast, LDicomTag::GetNext, LDicomTag::GetCount |
Topics: |
Example
For an example, refer to LDicomTag::GetLast.