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

Method previous_sibling

Tools/EditorFramework/pugixml.cpp:4547–4557  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4545 }
4546
4547 PUGI__FN xml_node xml_node::previous_sibling(const char_t* name_) const
4548 {
4549 if (!_root)
4550 return xml_node();
4551
4552 for (xml_node_struct* i = _root->prev_sibling_c; i->next_sibling; i = i->prev_sibling_c)
4553 if (i->name && impl::strequal(name_, i->name))
4554 return xml_node(i);
4555
4556 return xml_node();
4557 }
4558
4559 PUGI__FN xml_node xml_node::previous_sibling() const
4560 {

Callers 2

pugixml.cppFile · 0.45
step_fillMethod · 0.45

Calls 2

xml_nodeClass · 0.70
strequalFunction · 0.70

Tested by

no test coverage detected