Available in LEADTOOLS Medical Imaging toolkits. |
LDicomContextGroup::GetPrev
#include "ltdic.h"
static pDICOMCONTEXTGROUP LDicomContextGroup::GetPrev(pContextGroup)
pDICOMCONTEXTGROUP pContextGroup; |
/* pointer to a Context Group */ |
Returns a pointer to the Context Group in the Context Group Table that immediately precedes the specified Context Group.
Parameter |
Description |
pContextGroup |
Pointer to a DICOMCONTEXTGROUP structure that specifies a Context Group in the Context Group Table. The function will return a pointer to the structure that specifies the Group that immediately precedes this Group, if there is one. |
Returns
!NULL |
Pointer to a DICOMCONTEXTGROUP structure that specifies the Context Group in the Context Group Table that immediately precedes the Group specified by pContextGroup. |
NULL |
No Context Group precedes the one specified by pContextGroup. (pContextGroup is the first Context Group in the table.) |
Comments
Along with this function, the following functions can be used to maneuver through the Context Groups in the Context Group Table:
You can also use the LDicomContextGroup::GetCount and LDicomContextGroup::FindIndex functions to enumerate the Context Groups in the table.
The Coded Concepts of a Context Group can be investigated using the following functions:
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
Example
For an example, refer to LDicomContextGroup::GetFirst.