Returns a pointer to the item in the IOD Structure that contains the IOD for the specified module in the specified class.
#include "Ltdic.h"
static pDICOMIOD LDicomIOD::FindModule(nClass, nModule)
Class constant that specifies the class in which to look for the module. For a list of default values, refer to IOD Class Constants.
Module constant that specifies the module to look for within the class specified in nClass. For a list of default module constants, refer to IOD Module Constants.
Value | Meaning |
---|---|
!NULL | A pointer to the item in the IOD Structure that contains the IOD for the specified module in the specified class. |
NULL | An IOD for the specified module in the specified class was not found. |
To find the IOD of a module at a specific index within a class use LDicomIOD::FindIndexModule. To find the IOD for a specific class use LDicomIOD::FindClass.
LDicomIOD::Find lets you find IODs for classes, modules or elements in the IOD Structure.
Win32, x64
This example displays the name of a module.
L_INT LDicomIOD_FindModuleExample()
{
pDICOMIOD pIOD;
pIOD = LDicomIOD::FindModule(CLASS_US_IMAGE_STORAGE, MODULE_PATIENT_STUDY);
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