L_DicomFindIndexContextGroup
#include "ltdic.h"
pDICOMCONTEXTGROUP EXT_FUNCTION L_DicomFindIndexContextGroup(uIndex)
L_UINT32 uIndex; |
/* index of Context Group */ |
Returns a pointer to the Context Group located at the specified index in the Context Group Table.
Parameter |
Description |
uIndex |
The zero-based index of the required Context Group (the index should be a number from 0 to the count of Context Groups in the table minus 1). Use the L_DicomGetCountContextGroup function to obtain the count of Context Groups in the table. |
Returns
!NULL |
Pointer to a DICOMCONTEXTGROUP structure that specifies the Context Group in the Context Group Table which is located at the specified index. |
NULL |
The specified index is invalid. |
Comments
Use the L_DicomFindIndexContextGroup function along with the L_DicomGetCountContextGroup function as a way of enumerating the Context Groups in the Context Group Table.
LEADTOOLS also provides the following functions for maneuvering through the Context Groups in the Context Group Table:
To investigate the Coded Concepts of a Context Group, use the following functions:
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: |
L_DicomLoadContextGroup, L_DicomInsertContextGroup, L_DicomGetCountContextGroup, L_DicomGetFirstContextGroup, L_DicomFindIndexCodedConcept |
Topics: |
Example
For an example, refer to L_DicomGetFirstContextGroup.