LDicomContextGroup::FindIndex

#include "ltdic.h"

static pDICOMCONTEXTGROUP LDicomContextGroup::FindIndex(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

An unsigned 32-bit integer that represents the index of the required Context Group. Valid values range from 0 to the count of Context Groups in the table minus 1. This count is returned by the LDicomContextGroup::GetCount function.

Returns

!NULL

Pointer to a DICOMCONTEXTGROUP structure that specifies the Context Group in the Context Group Table that is located at the specified index.

NULL

The index specified is invalid.

Comments

The following functions can also be used to maneuver through the Context Groups in the Context Group Table:

LDicomContextGroup::GetFirst

LDicomContextGroup::GetLast

LDicomContextGroup::GetNext

LDicomContextGroup::GetPrev

Use the following functions to investigate the Coded Concepts of a Context Group:

LDicomContextGroup::GetFirstCodedConcept

LDicomContextGroup::GetLastCodedConcept

LDicomContextGroup::GetNextCodedConcept

LDicomContextGroup::GetPrevCodedConcept

LDicomContextGroup::GetCountCodedConcept

LDicomContextGroup::FindIndexCodedConcept

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:

LDicomContextGroup::Load, LDicomContextGroup::Insert, LDicomContextGroup::GetCount, LDicomContextGroup::GetFirst, LDicomContextGroup::FindIndexCodedConcept, Class Members

Topics:

Working with Context Groups

Example

For an example, refer to LDicomContextGroup::GetFirst.