MCPcopy Create free account
hub / github.com/BehaviorTree/Groot / operator ==

Method operator ==

bt_editor/bt_editor_base.cpp:104–113  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

102}
103
104bool AbsBehaviorTree::operator ==(const AbsBehaviorTree &other) const
105{
106 if( _nodes.size() != other._nodes.size() ) return false;
107
108 for (size_t index = 0; index < _nodes.size(); index++)
109 {
110 if( _nodes[index] != other._nodes[index]) return false;
111 }
112 return true;
113}
114
115
116

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected