SRGCompoundComponent::GetComponent

SRGraphComponent * SRGCompoundComponent::GetComponent(int nComponent, UINT Type, int * pCurrentComponent)

Returns a pointer to a subcomponent in the compound list

Defined in: SRGCompoundComponent.cpp

Return Value

Pointer to the found component or NULL if none is found

Parameters

nComponent

Index umber of the component to find

Type

Type of component to find

pCurrentComponent

Pointer to the number of the component being searched

Remarks

Note that this function is recursive and it will find a component that is buried deep in subcomponent levels.