top | up | prev | next

XPathSubExpr Class

Definition at line 127 of XPathExpr.hpp

Constructors

XPathSubExpr(XPathExpr* left_, XPathExpr* right_)

Member Functions

std::unique_ptr<XPathObject> Evaluate(XPathContext& context) override
std::unique_ptr<Node> ToDom() const override

Constructor Details

XPathSubExpr Constructor

sngxml::xpath::XPathSubExpr::XPathSubExpr(XPathExpr * left_, XPathExpr * right_)

Definition at line 945 of XPathExpr.cpp :
 945 : XPathBinaryExpr(left_right_)
 946 {
 947 }


Declaration at line 130 of XPathExpr.hpp


Member Function Details

Evaluate Member Function

std::unique_ptr<XPathObject > sngxml::xpath::XPathSubExpr::Evaluate(XPathContext & context) override

Definition at line 949 of XPathExpr.cpp
Declaration at line 131 of XPathExpr.hpp

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

Calls: sngxml::xpath::XPathBinaryExpr::Left , sngxml::xpath::XPathBinaryExpr::Right , sngxml::xpath::XPathExpr::Evaluate , sngxml::xpath::XPathFunction::Evaluate


ToDom Member Function

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

Definition at line 973 of XPathExpr.cpp :
 974 {
 975     std::unique_ptr<dom::Element> element(new dom::Element(U"sub"));
 976     element->AppendChild(Left()->ToDom());
 977     element->AppendChild(Right()->ToDom());
 978     return std::unique_ptr<dom::Node>(element.release());
 979 }


Declaration at line 132 of XPathExpr.hpp

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

Calls: sngxml::xpath::XPathBinaryExpr::Left , sngxml::xpath::XPathBinaryExpr::Right , sngxml::xpath::XPathExpr::ToDom


top | up | prev | next