MCPcopy Create free account
hub / github.com/bytedance/Fastbot_Android / find_element

Function find_element

native/thirdpart/tinyxml2/tixml2ex.h:401–404  ·  view source on GitHub ↗

helper functions to find the first element (if any) below a base element matching the XPath

Source from the content-addressed store, hash-verified

399
400 // helper functions to find the first element (if any) below a base element matching the XPath
401 inline XMLElement * find_element (XMLElement * base, std::string xpath = ""s)
402 {
403 return *Selector<XMLElement> (base, xpath) .begin();
404 }
405
406
407 inline const XMLElement * find_element (const XMLElement * base, std::string xpath = ""s)

Callers

nothing calls this directly

Calls 2

emptyMethod · 0.80
beginMethod · 0.45

Tested by

no test coverage detected