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

Method hasAttributeValue

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

Source from the content-addressed store, hash-verified

535
536
537bool AbstractContainerNode::hasAttributeValue(const XMLString& name, const XMLString& value, const NSMap* pNSMap) const
538{
539 const Attr* pAttr = findAttribute(name, this, pNSMap);
540 return pAttr && pAttr->getValue() == value;
541}
542
543
544bool AbstractContainerNode::namesAreEqual(const Node* pNode1, const Node* pNode2, const NSMap* pNSMap)

Callers 1

findElementMethod · 0.80

Calls 1

getValueMethod · 0.45

Tested by

no test coverage detected