#include "Ltdic.h"
static pDICOMIOD LDicomIOD::Find(pIOD, nCode, nType, bTree)
Returns a pointer to an item in the IOD Structure that contains the IOD with the specified code and type.
Pointer to a DICOMIOD structure that contains an item in the IOD Structure. A pointer to the item in the IOD Structure that contains the IOD with the specified nCode and nType will be returned.
Code value that specifies the Information Object Definition. The information object may be a Class, a Module or a Tag. For lists of default values, refer to Data Element Tag Constants, IOD Class Constants, and IOD Module Constants.
The type of Information Object Definition you are working with. Possible values are:
Value | Meaning |
---|---|
IOD_TYPE_CLASS | [0x00] Class type Information Object Definition. |
IOD_TYPE_MODULE | [0x01] Module type Information Object Definition. |
IOD_TYPE_ELEMENT | [0x02] Element type Information Object Definition. |
Flag that indicates how the IOD Structure will be evaluated. Possible values are:
Value | Meaning |
---|---|
TRUE | Evaluate the IOD Structure as a tree. |
FALSE | Evaluate the IOD Structure as a list. |
Value | Meaning |
---|---|
!NULL | A pointer to a DICOMIOD structure that contains the item in the IOD Structure of the specified code and type. |
NULL | An item with the specified code and type was not found. |
The nCode and nType parameters must correspond. For example, if you specify IOD_TYPE_CLASS in nType, you must specify a value from the IOD Class Constants in nCode. If you specify some other value, the item will not be found in the IOD Structure.
Required DLLs and Libraries
Win32, x64
This example displays the name of an item.
L_INT LDicomIOD_FindExample()
{
pDICOMIOD pIOD;
pIOD = LDicomIOD::Find(NULL, TAG_PATIENT_NAME, IOD_TYPE_ELEMENT, FALSE);
if (pIOD != NULL)
{
::MessageBox(NULL, pIOD->pszName, TEXT("Notice"), MB_OK);
}
return DICOM_SUCCESS;
}
Help Collections
Raster .NET | C API | C++ Class Library | HTML5 JavaScript
Document .NET | C API | C++ Class Library | HTML5 JavaScript
Medical .NET | C API | C++ Class Library | HTML5 JavaScript
Medical Web Viewer .NET
Multimedia
Direct Show .NET | C API | Filters
Media Foundation .NET | C API | Transforms
Supported Platforms
.NET, Java, Android, and iOS/macOS Assemblies
Imaging, Medical, and Document
C API/C++ Class Libraries
Imaging, Medical, and Document
HTML5 JavaScript Libraries
Imaging, Medical, and Document
Your email has been sent to support! Someone should be in touch! If your matter is urgent please come back into chat.
Chat Hours:
Monday - Friday, 8:30am to 6pm ET
Thank you for your feedback!
Please fill out the form again to start a new chat.
All agents are currently offline.
Chat Hours:
Monday - Friday
8:30AM - 6PM EST
To contact us please fill out this form and we will contact you via email.