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

Function find

pdal/Metadata.hpp:669–681  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

667
668 template <typename PREDICATE>
669 MetadataNode find(PREDICATE p) const
670 {
671 if (p(*this))
672 return *this;
673 auto nodes = children();
674 for (auto ai = nodes.begin(); ai != nodes.end(); ++ai)
675 {
676 MetadataNode n = ai->find(p);
677 if (!n.empty())
678 return n;
679 }
680 return MetadataNode();
681 }
682
683 template <typename PREDICATE>
684 MetadataNodeList findChildren(PREDICATE p)

Callers 15

findVlrFunction · 0.85
fetchWithDescriptionMethod · 0.85
extractWktMethod · 0.85
existsMethod · 0.85
TESTFunction · 0.85
TESTFunction · 0.85
TESTFunction · 0.85
TESTFunction · 0.85
executeMethod · 0.85
filterMethod · 0.85
setReciprocityMethod · 0.85
checkEndMethod · 0.85

Calls 6

childrenFunction · 0.85
MetadataNodeFunction · 0.70
beginMethod · 0.45
endMethod · 0.45
findMethod · 0.45
emptyMethod · 0.45

Tested by 4

TESTFunction · 0.68
TESTFunction · 0.68
TESTFunction · 0.68
TESTFunction · 0.68