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

Class Port

QtNodeEditor/include/nodes/internal/PortType.hpp:26–47  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

24using PortIndex = int;
25
26struct Port
27{
28 PortType type;
29
30 PortIndex index;
31
32 Port()
33 : type(PortType::None)
34 , index(INVALID)
35 {}
36
37 Port(PortType t, PortIndex i)
38 : type(t)
39 , index(i)
40 {}
41
42 bool
43 indexIsValid() { return index != INVALID; }
44
45 bool
46 portTypeIsValid() { return type != PortType::None; }
47};
48
49//using PortAddress = std::pair<QUuid, PortIndex>;
50

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected