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

Method getNode

QtNodeEditor/src/Connection.cpp:299–318  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

297
298
299Node*
300Connection::
301getNode(PortType portType) const
302{
303 switch (portType)
304 {
305 case PortType::In:
306 return _inNode;
307 break;
308
309 case PortType::Out:
310 return _outNode;
311 break;
312
313 default:
314 // not possible
315 break;
316 }
317 return nullptr;
318}
319
320
321Node*&

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected