top | up | prev | next

XPathModExpr Class

Definition at line 151 of XPathExpr.hpp

Constructors

XPathModExpr(XPathExpr* left_, XPathExpr* right_)

Member Functions

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

Constructor Details

XPathModExpr Constructor

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

Definition at line 1053 of XPathExpr.cpp :
1053 : XPathBinaryExpr(left_right_)
1054 {
1055 }


Declaration at line 154 of XPathExpr.hpp


Member Function Details

Evaluate Member Function

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

Definition at line 1057 of XPathExpr.cpp
Declaration at line 155 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::XPathModExpr::ToDom() const override

Definition at line 1081 of XPathExpr.cpp :
1082 {
1083     std::unique_ptr<dom::Element> element(new dom::Element(U"mod"));
1084     element->AppendChild(Left()->ToDom());
1085     element->AppendChild(Right()->ToDom());
1086     return std::unique_ptr<dom::Node>(element.release());
1087 }


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