top | up | prev | next

XPathUnionExpr Class

Definition at line 167 of XPathExpr.hpp

Constructors

XPathUnionExpr(XPathExpr* left_, XPathExpr* right_)

Member Functions

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

Constructor Details

XPathUnionExpr Constructor

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

Definition at line 1115 of XPathExpr.cpp :
1115 : XPathBinaryExpr(left_right_)
1116 {
1117 }


Declaration at line 170 of XPathExpr.hpp


Member Function Details

Evaluate Member Function

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

Definition at line 1119 of XPathExpr.cpp
Declaration at line 171 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::XPathNodeSet::Length


ToDom Member Function

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

Definition at line 1147 of XPathExpr.cpp :
1148 {
1149     std::unique_ptr<dom::Element> element(new dom::Element(U"union"));
1150     element->AppendChild(Left()->ToDom());
1151     element->AppendChild(Right()->ToDom());
1152     return std::unique_ptr<dom::Node>(element.release());
1153 }


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