top | up | prev | next

XPathLocationStepExpr Class

Definition at line 207 of XPathExpr.hpp

Constructors

XPathLocationStepExpr(Axis axis_, XPathNodeTestExpr* nodeTest_)
XPathLocationStepExpr(XPathLocationStepExpr&&) delete
XPathLocationStepExpr(const XPathLocationStepExpr&) delete

Member Functions

void AddPredicate(XPathExpr* predicate)
std::unique_ptr<XPathObject> Evaluate(XPathContext& context) override
std::unique_ptr<Node> ToDom() const override
XPathLocationStepExpr&& operator=(XPathLocationStepExpr&&) delete
XPathLocationStepExpr& operator=(const XPathLocationStepExpr&) delete

Member Variables

Axis axis
std::unique_ptr<XPathNodeTestExpr> nodeTest
std::vector<std::unique_ptr<XPathExpr>> predicates

Constructor Details

XPathLocationStepExpr Constructor

sngxml::xpath::XPathLocationStepExpr::XPathLocationStepExpr(Axis axis_, XPathNodeTestExpr * nodeTest_)

Definition at line 1299 of XPathExpr.cpp :
1299 : axis(axis_)nodeTest(nodeTest_)
1300 {
1301 }


Declaration at line 210 of XPathExpr.hpp


XPathLocationStepExpr Constructor

sngxml::xpath::XPathLocationStepExpr::XPathLocationStepExpr(XPathLocationStepExpr &&) delete

Definition at line 213 of XPathExpr.hpp


XPathLocationStepExpr Constructor

sngxml::xpath::XPathLocationStepExpr::XPathLocationStepExpr(const XPathLocationStepExpr &) delete

Definition at line 211 of XPathExpr.hpp


Member Function Details

AddPredicate Member Function

void sngxml::xpath::XPathLocationStepExpr::AddPredicate(XPathExpr * predicate)

Definition at line 1303 of XPathExpr.cpp :
1304 {
1305     predicates.push_back(std::unique_ptr<XPathExpr>(predicate));
1306 }


Declaration at line 215 of XPathExpr.hpp


Evaluate Member Function

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

Definition at line 1308 of XPathExpr.cpp
Declaration at line 216 of XPathExpr.hpp

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

Calls: sngxml::dom::Node::Walk , sngxml::xpath::XPathContext::Node , sngxml::xpath::XPathContext::Position , sngxml::xpath::XPathFunction::Evaluate , sngxml::xpath::XPathLocationStepExpr::Evaluate , sngxml::xpath::XPathNumber::Value

Called by: sngxml::xpath::XPathLocationStepExpr::Evaluate


ToDom Member Function

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

Definition at line 1349 of XPathExpr.cpp
Declaration at line 217 of XPathExpr.hpp

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

Calls: sngxml::dom::Element::SetAttribute , sngxml::dom::ParentNode::AppendChild , sngxml::xpath::XPathLocationStepExpr::ToDom

Called by: sngxml::xpath::XPathLocationStepExpr::ToDom


operator= Member Function

XPathLocationStepExpr && sngxml::xpath::XPathLocationStepExpr::operator=(XPathLocationStepExpr &&) delete

Definition at line 214 of XPathExpr.hpp


operator= Member Function

XPathLocationStepExpr & sngxml::xpath::XPathLocationStepExpr::operator=(const XPathLocationStepExpr &) delete

Definition at line 212 of XPathExpr.hpp


top | up | prev | next