MCPcopy Create free account
hub / github.com/apache/thrift / findChild

Method findChild

compiler/cpp/tests/catch/catch.hpp:6114–6119  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

6112 }
6113
6114 virtual ITracker* findChild( NameAndLocation const& nameAndLocation ) CATCH_OVERRIDE {
6115 Children::const_iterator it = std::find_if( m_children.begin(), m_children.end(), TrackerHasName( nameAndLocation ) );
6116 return( it != m_children.end() )
6117 ? it->get()
6118 : CATCH_NULL;
6119 }
6120 virtual ITracker& parent() CATCH_OVERRIDE {
6121 assert( m_parent ); // Should always be non-null except for root
6122 return *m_parent;

Callers 2

SectionTrackerClass · 0.80
IndexTrackerClass · 0.80

Calls 4

TrackerHasNameClass · 0.85
beginMethod · 0.45
endMethod · 0.45
getMethod · 0.45

Tested by

no test coverage detected