MCPcopy Create free account
hub / github.com/ClickHouse/ClickHouse / findElement

Method findElement

base/poco/XML/src/AbstractContainerNode.cpp:461–470  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

459
460
461const Node* AbstractContainerNode::findElement(const XMLString& name, const Node* pNode, const NSMap* pNSMap)
462{
463 while (pNode)
464 {
465 if (pNode->nodeType() == Node::ELEMENT_NODE && namesAreEqual(pNode, name, pNSMap))
466 return pNode;
467 pNode = pNode->nextSibling();
468 }
469 return 0;
470}
471
472
473const Node* AbstractContainerNode::findElement(int index, const Node* pNode, const NSMap* pNSMap)

Callers

nothing calls this directly

Calls 3

hasAttributeValueMethod · 0.80
nodeTypeMethod · 0.45
nextSiblingMethod · 0.45

Tested by

no test coverage detected