top | up | prev | next

NodeSelectionOp Class

Definition at line 1276 of XPathExpr.cpp

Constructors

NodeSelectionOp(XPathNodeTestExpr* nodeTest_, XPathNodeSet& nodeSet_, Axis axis_)

Member Functions

void Apply(Node* node) override

Member Variables

Axis axis
XPathNodeSet& nodeSet
XPathNodeTestExpr* nodeTest

Constructor Details

NodeSelectionOp Constructor

sngxml::xpath::NodeSelectionOp::NodeSelectionOp(XPathNodeTestExpr * nodeTest_, XPathNodeSet & nodeSet_, Axis axis_)

Definition at line 1287 of XPathExpr.cpp :
1287 : nodeTest(nodeTest_)nodeSet(nodeSet_)axis(axis_)
1288 {
1289 }


Declaration at line 1279 of XPathExpr.cpp


Member Function Details

Apply Member Function

void sngxml::xpath::NodeSelectionOp::Apply(Node * node) override

Definition at line 1291 of XPathExpr.cpp :
1292 {
1293     if (nodeTest->Select(nodeaxis))
1294     {
1295         nodeSet.Add(node);
1296     }
1297 }


Declaration at line 1280 of XPathExpr.cpp

Base class overridden functions: sngxml::dom::NodeOp::Apply

Calls: sngxml::xpath::XPathNodeSet::Add , sngxml::xpath::XPathNodeTestExpr::Select


top | up | prev | next