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

Function sameType

QtNodeEditor/include/nodes/internal/NodeData.hpp:25–28  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

23 virtual ~NodeData() = default;
24
25 virtual bool sameType(NodeData const &nodeData) const
26 {
27 return (this->type().id == nodeData.type().id);
28 }
29
30 /// Type for inner use
31 virtual NodeDataType type() const = 0;

Callers

nothing calls this directly

Calls 1

typeMethod · 0.45

Tested by

no test coverage detected