top | up | prev | next

XPathRootNodeExpr Class

Definition at line 183 of XPathExpr.hpp

Constructors

XPathRootNodeExpr()

Member Functions

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

Constructor Details

XPathRootNodeExpr Constructor

sngxml::xpath::XPathRootNodeExpr::XPathRootNodeExpr()

Definition at line 1197 of XPathExpr.cpp :
1198 {
1199 }


Declaration at line 186 of XPathExpr.hpp


Member Function Details

Evaluate Member Function

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

Definition at line 1201 of XPathExpr.cpp
Declaration at line 187 of XPathExpr.hpp

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

Calls: sngxml::dom::Node::GetNodeType , sngxml::dom::Node::OwnerDocument , sngxml::xpath::XPathContext::Node


ToDom Member Function

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

Definition at line 1215 of XPathExpr.cpp :
1216 {
1217     std::unique_ptr<dom::Element> element(new dom::Element(U"root"));
1218     return std::unique_ptr<dom::Node>(element.release());
1219 }


Declaration at line 188 of XPathExpr.hpp

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


top | up | prev | next