Is this page helpful?

In this page

LDicomVR::Find

Summary

Returns a pointer to a structure that contains the item with the specified value representation code.

Syntax

#include "Ltdic.h"

static pDICOMVR LDicomVR::Find(nCode)

Parameters

L_UINT16 nCode

A value representation code. A pointer to the item in the Value Representation Table that has this value representation code will be returned.

Returns

Value Meaning
!NULL A pointer to a DICOMVR structure that contains the item with the specified value representation code.
NULL There is not an item with the specified value representation code.

Comments

As an example, if you call this function with nCode set to VR_AE, and the Value Representation Table filled with the default values, the DICOMVR structure pointed to by the returned pointer will contain VR_AE, "Application Entity", 16, VR_STRING|VR_MAXIMUM, and 1.

For the default values for the Value Representation Table, refer to the Default Value Representation Table.

Required DLLs and Libraries

Platforms

Win32, x64

See Also

Functions

Topics

Example

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

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.