MCPcopy Create free account
hub / github.com/PDAL/PDAL / findChildren

Function findChildren

pdal/Metadata.hpp:684–696  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

682
683 template <typename PREDICATE>
684 MetadataNodeList findChildren(PREDICATE p)
685 {
686 MetadataNodeList matches;
687
688 auto nodes = children();
689 for (auto ai = nodes.begin(); ai != nodes.end(); ++ai)
690 {
691 MetadataNode& n = *ai;
692 if (p(n))
693 matches.push_back(n);
694 }
695 return matches;
696 }
697
698 template <typename PREDICATE>
699 MetadataNode findChild(PREDICATE p) const

Callers

nothing calls this directly

Calls 3

childrenFunction · 0.85
beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected