top | up | prev | next

XPathAnyNodeTest Class

Definition at line 257 of XPathExpr.hpp

Member Functions

bool Select(Node* node, Axis axis) const override
std::unique_ptr<Node> ToDom() const override

Member Function Details

Select Member Function

bool sngxml::xpath::XPathAnyNodeTest::Select(Node * node, Axis axis) const override

Definition at line 1493 of XPathExpr.cpp :
1494 {
1495     return true;
1496 }


Declaration at line 260 of XPathExpr.hpp

Base class overridden functions: sngxml::xpath::XPathNodeTestExpr::Select


ToDom Member Function

std::unique_ptr<Node > sngxml::xpath::XPathAnyNodeTest::ToDom() const override

Definition at line 1498 of XPathExpr.cpp :
1499 {
1500     std::unique_ptr<dom::Element> element(new dom::Element(U"anyNodeTest"));
1501     return std::unique_ptr<dom::Node>(element.release());
1502 }


Declaration at line 261 of XPathExpr.hpp

Base class overridden functions: sngxml::xpath::XPathExpr::ToDom


top | up | prev | next