CODSymbolComponent::GetNodesConnectedTo

int CODSymbolComponent::GetNodesConnectedTo(IODNodeCollection* pINodes)

Retrieve nodes that are connected to this node.

Defined in: OdSymbolComp.cpp

Return Value

Number of nodes found.

Parameters

pINodes

Pointer to node collection interface.

Comments

This function performs a depth-first search to retrieve all nodes connected to this node. This function traverses edges that enter the node, so it traverses the directed graph in reverse.

This function must perform a lookup in the node collection to determine whether a node has already been visited. Using CODNodeMap for the collection improves the performance of this function.