CODSymbolComponent::IsConnectionSource

BOOL CODSymbolComponent::IsConnectionSource(CODConnection* pConnection)

Determines if this symbol owns the source port of the given connection.

Defined in: OdSymbolComp.cpp

Return Value

TRUE if symbol owns the source port, otherwise FALSE.

Parameters

pConnection

Pointer to the connection to test.

Comments

Connections maintain a pointer to a source port and a pointer to a target port. This function gets a pointer to the source port from the connection and checks to see if the port's owner is this symbol.