LDicomIOD::FindIndexModule
#include "Ltdic.h"
static pDICOMIOD LDicomIOD::FindIndexModule(nClass, nIndex)
L_UINT32 nClass; |
/* class constant */ |
L_UINT32 nIndex; |
/* index value */ |
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.
Parameter |
Description |
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. |
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_STORAGE, 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
!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 LDicomIOD::FindModule. 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.
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 |
See Also
Functions: |
LDicomIOD::Find, LDicomIOD::FindClass, LDicomIOD::FindModule |
Topics: |
Example
For an example, refer to LDicomIOD::GetCountModule.