MCPcopy Create free account
hub / github.com/CodingGay/BlackDex / findChild

Method findChild

Bcore/src/main/cpp/Dobby/tests/catch.hpp:10087–10090  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

10085}
10086
10087ITrackerPtr TrackerBase::findChild(NameAndLocation const &nameAndLocation) {
10088 auto it = std::find_if(m_children.begin(), m_children.end(), TrackerHasName(nameAndLocation));
10089 return (it != m_children.end()) ? *it : nullptr;
10090}
10091ITracker &TrackerBase::parent() {
10092 assert(m_parent); // Should always be non-null except for root
10093 return *m_parent;

Callers 1

catch.hppFile · 0.80

Calls 3

TrackerHasNameClass · 0.85
beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected