top | up | prev | next

XPathNodeSet Class

Definition at line 29 of XPathObject.hpp

Constructors

XPathNodeSet()

Member Functions

void Add(Node* node)
int Length() const
std::unique_ptr<Node> ToDom() const override
Node* operator[](int index) const

Member Variables

NodeList nodes

Constructor Details

XPathNodeSet Constructor

sngxml::xpath::XPathNodeSet::XPathNodeSet()

Definition at line 22 of XPathObject.cpp :
 22 : XPathObject(XPathObjectType::nodeSet)
 23 {
 24 }


Declaration at line 32 of XPathObject.hpp


Member Function Details

Add Member Function

void sngxml::xpath::XPathNodeSet::Add(Node * node)

Definition at line 26 of XPathObject.cpp :
 27 {
 28     nodes.InternalAddNode(node);
 29 }


Declaration at line 35 of XPathObject.hpp

Calls: sngxml::dom::NodeList::InternalAddNode

Called by: sngxml::xpath::NodeSelectionOp::Apply , sngxml::xpath::XPathNumberFunction::Evaluate , sngxml::xpath::XPathStringFunction::Evaluate


Length Member Function

int sngxml::xpath::XPathNodeSet::Length() const

Definition at line 34 of XPathObject.hpp :
34 { return nodes.Length(); }

Calls: sngxml::dom::NodeList::Length

Called by: sngxml::xpath::XPathBooleanFunction::Evaluate , sngxml::xpath::XPathCombineStepExpr::Evaluate , sngxml::xpath::XPathCountFunction::Evaluate , sngxml::xpath::XPathStringFunction::Evaluate , sngxml::xpath::XPathUnionExpr::Evaluate


ToDom Member Function

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

Definition at line 31 of XPathObject.cpp
Declaration at line 36 of XPathObject.hpp

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

Calls: sngxml::dom::Node::CloneNode , sngxml::dom::Node::GetNodeType , sngxml::dom::NodeList::Length


operator[] Member Function

Node * sngxml::xpath::XPathNodeSet::operator[](int index) const

Definition at line 33 of XPathObject.hpp :
33 { return nodes[index]; }


top | up | prev | next