MCPcopy Create free account
hub / github.com/MyGUI/mygui / node_is_ancestor

Function node_is_ancestor

Tools/EditorFramework/pugixml.cpp:6801–6807  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

6799}
6800
6801PUGI__FN bool node_is_ancestor(xml_node parent, xml_node node)
6802{
6803 while (node && node != parent)
6804 node = node.parent();
6805
6806 return parent && node == parent;
6807}
6808
6809PUGI__FN const void* document_order(const xpath_node& xnode)
6810{

Callers 1

step_fillMethod · 0.70

Calls 1

parentMethod · 0.45

Tested by

no test coverage detected