GetInDataNodesAndPortIndexs
Description
Obtains the operator (corresponding to the specified input port of an operator) and the output port index of the operator.
Prototype
std::pair<GNodePtr, int32_t > GetInDataNodesAndPortIndexs(const int32_t index) const;
Restrictions
None
Parameters
Parameter |
Input/Output |
Description |
|---|---|---|
index |
Input |
Input port index of the operator. |
Returns
Parameter |
Type |
Description |
|---|---|---|
- |
std::pair<GNodePtr, int32_t > |
Operator and its output port index. An empty return indicates that no corresponding operator is available. |
Parent topic: Class GNode