MCPcopy Create free account
hub / github.com/SoarGroup/Soar / get_node

Method get_node

Core/SVS/src/scene.cpp:115–126  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

113}
114
115sgnode* scene::get_node(const string& id)
116{
117 node_table::iterator i, iend;
118 for (i = nodes.begin(), iend = nodes.end(); i != iend; ++i)
119 {
120 if ((*i)->get_id() == id)
121 {
122 return *i;
123 }
124 }
125 return NULL;
126}
127
128const sgnode* scene::get_node(const string& id) const
129{

Callers 8

parse_object_queryMethod · 0.95
update_subMethod · 0.45
parseMethod · 0.45
parseMethod · 0.45
update_subMethod · 0.45
update_subMethod · 0.45
computeMethod · 0.45
computeMethod · 0.45

Calls 2

endMethod · 0.80
get_idMethod · 0.80

Tested by

no test coverage detected