top | up | prev | next

XPathDivExpr Class

Definition at line 143 of XPathExpr.hpp

Constructors

XPathDivExpr(XPathExpr* left_, XPathExpr* right_)

Member Functions

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

Constructor Details

XPathDivExpr Constructor

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

Definition at line 1017 of XPathExpr.cpp :
1017 : XPathBinaryExpr(left_right_)
1018 {
1019 }


Declaration at line 146 of XPathExpr.hpp


Member Function Details

Evaluate Member Function

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

Definition at line 1021 of XPathExpr.cpp
Declaration at line 147 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::XPathDivExpr::ToDom() const override

Definition at line 1045 of XPathExpr.cpp :
1046 {
1047     std::unique_ptr<dom::Element> element(new dom::Element(U"div"));
1048     element->AppendChild(Left()->ToDom());
1049     element->AppendChild(Right()->ToDom());
1050     return std::unique_ptr<dom::Node>(element.release());
1051 }


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