Available in LEADTOOLS Medical Imaging toolkits. |
LDicomVR::Find
#include "Ltdic.h"
static pDICOMVR LDicomVR::Find(nCode)
L_UINT16 nCode; |
/* a value representation code*/ |
Returns a pointer to a structure that contains the item with the specified value representation code.
Parameter |
Description |
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
!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.
To see the default values for the Value Representation Table, refer to the Default Value Representation Table.
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: |
|
Topics: |
Example
For an example, refer to LDicomVR::Delete or LDicomVR::SetName.