top | up | prev | next

XPathUnaryMinusExpr Class

Definition at line 159 of XPathExpr.hpp

Constructors

XPathUnaryMinusExpr(XPathExpr* operand_)

Member Functions

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

Constructor Details

XPathUnaryMinusExpr Constructor

sngxml::xpath::XPathUnaryMinusExpr::XPathUnaryMinusExpr(XPathExpr * operand_)

Definition at line 1089 of XPathExpr.cpp :
1089 : XPathUnaryExpr(operand_)
1090 {
1091 }


Declaration at line 162 of XPathExpr.hpp


Member Function Details

Evaluate Member Function

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

Definition at line 1093 of XPathExpr.cpp
Declaration at line 163 of XPathExpr.hpp

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

Calls: sngxml::xpath::XPathExpr::Evaluate , sngxml::xpath::XPathFunction::Evaluate , sngxml::xpath::XPathUnaryExpr::Operand


ToDom Member Function

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

Definition at line 1108 of XPathExpr.cpp :
1109 {
1110     std::unique_ptr<dom::Element> element(new dom::Element(U"unaryMinus"));
1111     element->AppendChild(Operand()->ToDom());
1112     return std::unique_ptr<dom::Node>(element.release());
1113 }


Declaration at line 164 of XPathExpr.hpp

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

Calls: sngxml::xpath::XPathExpr::ToDom , sngxml::xpath::XPathUnaryExpr::Operand


top | up | prev | next