MCPcopy Create free account
hub / github.com/OGSR/OGSR-Engine / SearchForAttribute

Method SearchForAttribute

ogsr_engine/xrCore/XML_Parser/xrXMLParser.cpp:476–481  ·  view source on GitHub ↗

нахождение элемнета по его атрибуту

Source from the content-addressed store, hash-verified

474
475//нахождение элемнета по его атрибуту
476XML_NODE* CXml::SearchForAttribute(LPCSTR path, int index, LPCSTR tag_name, LPCSTR attrib, LPCSTR attrib_value_pattern)
477{
478 XML_NODE* start_node = NavigateToNode(path, index);
479 XML_NODE* result = SearchForAttribute(start_node, tag_name, attrib, attrib_value_pattern);
480 return result;
481}
482
483XML_NODE* CXml::SearchForAttribute(XML_NODE* start_node, LPCSTR tag_name, LPCSTR attrib, LPCSTR attrib_value_pattern)
484{

Callers

nothing calls this directly

Calls 6

AttributeMethod · 0.80
xr_strcmpFunction · 0.50
ToElementMethod · 0.45
ValueMethod · 0.45
FirstChildMethod · 0.45
NextSiblingMethod · 0.45

Tested by

no test coverage detected