top | up | prev | next

XPathString Class

Definition at line 61 of XPathObject.hpp

Constructors

XPathString(const std::u32string& value_)

Member Functions

std::unique_ptr<Node> ToDom() const override
const std::u32string& Value() const

Member Variables

std::u32string value

Constructor Details

XPathString Constructor

sngxml::xpath::XPathString::XPathString(const std::u32string& value_)

Definition at line 118 of XPathObject.cpp :
118 : XPathObject(XPathObjectType::string)value(value_)
119 {
120 }


Declaration at line 64 of XPathObject.hpp


Member Function Details

ToDom Member Function

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

Definition at line 122 of XPathObject.cpp :
123 {
124     std::unique_ptr<dom::Element> result(new dom::Element(U"string"));
125     result->SetAttribute(U"value"value);
126     return std::unique_ptr<dom::Node>(result.release());
127 }


Declaration at line 66 of XPathObject.hpp

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


Value Member Function

const std::u32string& sngxml::xpath::XPathString::Value() const

Definition at line 65 of XPathObject.hpp :
65 { return value; }

Called by: sngxml::xpath::XPathBooleanFunction::Evaluate , sngxml::xpath::XPathNumberFunction::Evaluate , sngxml::xpath::XPathStringFunction::Evaluate


top | up | prev | next