42 class XPathObject_Impl;
115 std::shared_ptr<XPathObject_Impl> impl;
XPath result object.
Definition xpath_object.h:46
double get_number() const
Get Number.
XPathObject(const std::vector< DomNode > &value)
bool get_boolean() const
Get Boolean.
Type get_type() const
Get Type.
std::string get_string() const
Get String.
Type
Definition xpath_object.h:56
@ type_string
Definition xpath_object.h:61
@ type_number
Definition xpath_object.h:60
@ type_node_set
Definition xpath_object.h:58
@ type_boolean
Definition xpath_object.h:59
@ type_null
Definition xpath_object.h:57
XPathObject(const std::string &value)
void set_boolean(bool value)
Set boolean.
XPathObject(double value)
void set_number(double value)
Set number.
bool is_null() const
Is Null.
void set_node_set(const std::vector< DomNode > &node_set)
Set node set.
XPathObject(size_t value)
std::vector< DomNode > get_node_set() const
void set_string(const std::string &str)
Set string.