LDicomUID::Find

#include "Ltdic.h"

static pDICOMUID LDicomUID::Find(pszCode)

L_TCHAR * pszCode;

/* UID */

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

Parameter

Description

pszCode

Character string that contains a UID. A pointer to the item in the UID Table that has this UID will be returned.

Returns

!NULL

A pointer to a DICOMUID structure that contains the item with the specified UID.

NULL

There is not an item with the specified UID.

Comments

As an example, if you call this function with pszCode set to "1.2.840.10008.1.1", and the UID Table filled with the default values, the DICOMUID structure pointed to by the returned pointer will contain "1.2.840.10008.1.1" and "Verification SOP Class".

To see the default values for the UID Table, refer to the Default UID 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

Platforms

Win32, x64

See Also

Functions:

LDicomUID::FindIndex

Topics:

Working with Unique Identifiers

Example

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