top | up | prev | next

XPathAndExpr Class

Definition at line 63 of XPathExpr.hpp

Constructors

XPathAndExpr(XPathExpr* left_, XPathExpr* right_)

Member Functions

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

Constructor Details

XPathAndExpr Constructor

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

Definition at line 73 of XPathExpr.cpp :
  73 : XPathBinaryExpr(left_right_)
  74 {
  75 }


Declaration at line 66 of XPathExpr.hpp


Member Function Details

Evaluate Member Function

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

Definition at line 77 of XPathExpr.cpp
Declaration at line 67 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::XPathAndExpr::ToDom() const override

Definition at line 103 of XPathExpr.cpp :
 104 {
 105     std::unique_ptr<dom::Element> element(new dom::Element(U"and"));
 106     element->AppendChild(Left()->ToDom());
 107     element->AppendChild(Right()->ToDom());
 108     return std::unique_ptr<dom::Node>(element.release());
 109 }


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