top | up | prev | next

XPathAddExpr Class

Definition at line 119 of XPathExpr.hpp

Constructors

XPathAddExpr(XPathExpr* left_, XPathExpr* right_)

Member Functions

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

Constructor Details

XPathAddExpr Constructor

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

Definition at line 909 of XPathExpr.cpp :
 909 : XPathBinaryExpr(left_right_)
 910 {
 911 }


Declaration at line 122 of XPathExpr.hpp


Member Function Details

Evaluate Member Function

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

Definition at line 913 of XPathExpr.cpp
Declaration at line 123 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::XPathAddExpr::ToDom() const override

Definition at line 937 of XPathExpr.cpp :
 938 {
 939     std::unique_ptr<dom::Element> element(new dom::Element(U"add"));
 940     element->AppendChild(Left()->ToDom());
 941     element->AppendChild(Right()->ToDom());
 942     return std::unique_ptr<dom::Node>(element.release());
 943 }


Declaration at line 124 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