L_DicomFindIndexModuleIOD

Summary

Returns a pointer to the item in the IOD Structure that contains the IOD for the module in the specified class at the specified index.

Syntax

#include "Ltdic.h"

L_LTDIC_API pDICOMIOD L_DicomFindIndexModuleIOD(nClass, nIndex)

Parameters

L_UINT32 nClass

Class constant that specifies the class in which to look for the module. For a list of default values, refer to IOD Class Constants.

L_UINT32 nIndex

Index value that indicates the position of the module within the class. This index is zero-based. For example, if nIndex is 2 and nClass is CLASS_NM_IMAGE, this function will return a pointer to the item in the IOD Structure that contains the IOD for the module at index position 2 in the Nuclear Medicine Image class.

Returns

Value Meaning
!NULL A pointer to the item in the IOD Structure that contains the IOD for the module at the specified index position in the specified class.
NULL An IOD for the module at the specified index position in the specified class was not found.

Comments

To find the IOD of a module within a class use L_DicomFindModuleIOD. To find the IOD for a specific class use L_DicomFindClassIOD.

L_DicomFindIOD lets you find IODs for classes, modules or elements in the IOD Structure.

Required DLLs and Libraries

Platforms

Win32, x64, Linux.

See Also

Functions

Topics

Example

For an example, refer to L_DicomGetCountModuleIOD.

Help Version 23.0.2024.2.29
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2024 LEAD Technologies, Inc. All Rights Reserved.

LEADTOOLS DICOM C API Help

Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.