MCPcopy Create free account
hub / github.com/BehaviorTree/Groot / getPortIndex

Method getPortIndex

QtNodeEditor/src/Connection.cpp:201–223  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

199
200
201PortIndex
202Connection::
203getPortIndex(PortType portType) const
204{
205 PortIndex result = INVALID;
206
207 switch (portType)
208 {
209 case PortType::In:
210 result = _inPortIndex;
211 break;
212
213 case PortType::Out:
214 result = _outPortIndex;
215
216 break;
217
218 default:
219 break;
220 }
221
222 return result;
223}
224
225
226void

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected