MCPcopy Create free account
hub / github.com/IppClub/Dora-SSR / getNodeCount

Method getNodeCount

Source/Node/Node.cpp:415–422  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

413}
414
415uint32_t Node::getNodeCount() const noexcept {
416 uint32_t count = 1;
417 ARRAY_START(Node, child, _children) {
418 count += child->getNodeCount();
419 }
420 ARRAY_END
421 return count;
422}
423
424void Node::onEnter() {
425 ARRAY_START(Node, child, _children) {

Callers 1

ARRAY_STARTFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected