top | up | prev | next

XPathPILiteralTest Class

Definition at line 226 of XPathExpr.hpp

Constructors

XPathPILiteralTest(XPathExpr* literal_)

Member Functions

bool Select(Node* node, Axis axis) const override
std::unique_ptr<Node> ToDom() const override

Member Variables

std::unique_ptr<XPathExpr> literal

Constructor Details

XPathPILiteralTest Constructor

sngxml::xpath::XPathPILiteralTest::XPathPILiteralTest(XPathExpr * literal_)

Definition at line 1414 of XPathExpr.cpp :
1414 : literal(literal_)
1415 {
1416 }


Declaration at line 229 of XPathExpr.hpp


Member Function Details

Select Member Function

bool sngxml::xpath::XPathPILiteralTest::Select(Node * node, Axis axis) const override

Definition at line 1418 of XPathExpr.cpp
Declaration at line 230 of XPathExpr.hpp

Base class overridden functions: sngxml::xpath::XPathNodeTestExpr::Select

Calls: sngxml::dom::Node::GetNodeType , sngxml::dom::ProcessingInstruction::Target , sngxml::xpath::XPathExpr::TextValue


ToDom Member Function

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

Definition at line 1431 of XPathExpr.cpp :
1432 {
1433     std::unique_ptr<dom::Element> element(new dom::Element(U"piLiteralTest"));
1434     element->AppendChild(literal->ToDom());
1435     return std::unique_ptr<dom::Node>(element.release());
1436 }


Declaration at line 231 of XPathExpr.hpp

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

Calls: sngxml::xpath::XPathPILiteralTest::ToDom

Called by: sngxml::xpath::XPathPILiteralTest::ToDom


top | up | prev | next