L_DicomFindIndexContextGroup

Summary

Returns a pointer to the Context Group located at the specified index in the Context Group Table.

Syntax

#include "ltdic.h"

L_LTDIC_API pDICOMCONTEXTGROUP L_DicomFindIndexContextGroup(uIndex)

Parameters

L_UINT32 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

Value Meaning
!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

Platforms

Win32, x64, Linux.

See Also

Functions

Topics

Example

For an example, refer to L_DicomGetFirstContextGroup.

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.