top | up | prev | next

XPathVariableReference Class

Definition at line 291 of XPathExpr.hpp

Constructors

XPathVariableReference(const std::u32string& name_)

Member Functions

std::unique_ptr<Node> ToDom() const override

Member Variables

std::u32string name

Constructor Details

XPathVariableReference Constructor

sngxml::xpath::XPathVariableReference::XPathVariableReference(const std::u32string& name_)

Definition at line 1582 of XPathExpr.cpp :
1582 : name(name_)
1583 {
1584 }


Declaration at line 294 of XPathExpr.hpp


Member Function Details

ToDom Member Function

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

Definition at line 1586 of XPathExpr.cpp :
1587 {
1588     std::unique_ptr<dom::Element> element(new dom::Element(U"variableReference"));
1589     element->SetAttribute(U"name"name);
1590     return std::unique_ptr<dom::Node>(element.release());
1591 }


Declaration at line 295 of XPathExpr.hpp

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


top | up | prev | next