SRGraph::GetComponent

SRGraphComponent * SRGraph::GetComponent(int nComponent, UINT Type)

Retrieves a component pointer from the m_ComponentList member

Defined in: SRGraph.cpp

Return Value

Pointer to the required component -- NULL if not found

Parameters

nComponent

Number of the component to fetch

Type

Component type to search for

Remarks

If the Type parameter is set to a valid component type, then the Nth component of that type will be returned.

See also...

m_ComponentList