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

Function node_height

Tools/EditorFramework/pugixml.cpp:6757–6768  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

6755}
6756
6757PUGI__FN unsigned int node_height(xml_node n)
6758{
6759 unsigned int result = 0;
6760
6761 while (n)
6762 {
6763 ++result;
6764 n = n.parent();
6765 }
6766
6767 return result;
6768}
6769
6770PUGI__FN bool node_is_before(xml_node ln, unsigned int lh, xml_node rn, unsigned int rh)
6771{

Callers 1

operator()Method · 0.70

Calls 1

parentMethod · 0.45

Tested by

no test coverage detected