top | up | prev | next

XPathGreaterOrEqualExpr Class

Definition at line 111 of XPathExpr.hpp

Constructors

XPathGreaterOrEqualExpr(XPathExpr* left_, XPathExpr* right_)

Member Functions

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

Constructor Details

XPathGreaterOrEqualExpr Constructor

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

Definition at line 890 of XPathExpr.cpp :
 890 : XPathBinaryExpr(left_right_)
 891 {
 892 }


Declaration at line 114 of XPathExpr.hpp


Member Function Details

Evaluate Member Function

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

Definition at line 894 of XPathExpr.cpp :
 895 {
 896     std::unique_ptr<XPathObject> left = Left()->Evaluate(context);
 897     std::unique_ptr<XPathObject> right = Right()->Evaluate(context);
 898     return Compare(contextleft.get()right.get()Operator::greaterOrEqual);
 899 }


Declaration at line 115 of XPathExpr.hpp

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

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


ToDom Member Function

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

Definition at line 901 of XPathExpr.cpp :
 902 {
 903     std::unique_ptr<dom::Element> element(new dom::Element(U"greaterOrEqual"));
 904     element->AppendChild(Left()->ToDom());
 905     element->AppendChild(Right()->ToDom());
 906     return std::unique_ptr<dom::Node>(element.release());
 907 }


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