#include <pugixml.hpp>
Public Member Functions | |
const char_t * | name () const |
xpath_value_type | type () const |
bool | get_boolean () const |
double | get_number () const |
const char_t * | get_string () const |
const xpath_node_set & | get_node_set () const |
bool | set (bool value) |
bool | set (double value) |
bool | set (const char_t *value) |
bool | set (const xpath_node_set &value) |
Protected Member Functions | |
xpath_variable () | |
xpath_variable (const xpath_variable &) | |
xpath_variable & | operator= (const xpath_variable &) |
Protected Attributes | |
xpath_value_type | _type |
xpath_variable * | _next |
Friends | |
class | xpath_variable_set |
Definition at line 942 of file pugixml.hpp.
PUGI__FN pugi::xpath_variable::xpath_variable | ( | ) | [protected] |
Definition at line 9029 of file pugixml.cpp.
pugi::xpath_variable::xpath_variable | ( | const xpath_variable & | ) | [protected] |
PUGI__FN bool pugi::xpath_variable::get_boolean | ( | ) | const |
PUGI__FN const xpath_node_set & pugi::xpath_variable::get_node_set | ( | ) | const |
PUGI__FN double pugi::xpath_variable::get_number | ( | ) | const |
Definition at line 9064 of file pugixml.cpp.
References _type, gen_nan(), and pugi::xpath_type_number.
PUGI__FN const char_t * pugi::xpath_variable::get_string | ( | ) | const |
Definition at line 9069 of file pugixml.cpp.
References _type, PUGIXML_TEXT, and pugi::xpath_type_string.
PUGI__FN const char_t * pugi::xpath_variable::name | ( | ) | const |
Definition at line 9033 of file pugixml.cpp.
References _type, pugi::xpath_type_boolean, pugi::xpath_type_node_set, pugi::xpath_type_number, and pugi::xpath_type_string.
xpath_variable& pugi::xpath_variable::operator= | ( | const xpath_variable & | ) | [protected] |
PUGI__FN bool pugi::xpath_variable::set | ( | const xpath_node_set & | value | ) |
PUGI__FN bool pugi::xpath_variable::set | ( | const char_t * | value | ) |
Definition at line 9096 of file pugixml.cpp.
References _type, strlength(), and pugi::xpath_type_string.
PUGI__FN bool pugi::xpath_variable::set | ( | double | value | ) |
PUGI__FN bool pugi::xpath_variable::set | ( | bool | value | ) |
Definition at line 9080 of file pugixml.cpp.
References _type, and pugi::xpath_type_boolean.
Referenced by pugi::xpath_variable_set::set().
PUGI__FN xpath_value_type pugi::xpath_variable::type | ( | ) | const |
friend class xpath_variable_set [friend] |
Definition at line 944 of file pugixml.hpp.
xpath_variable* pugi::xpath_variable::_next [protected] |
Definition at line 948 of file pugixml.hpp.
Referenced by pugi::xpath_variable_set::add(), and pugi::xpath_variable_set::~xpath_variable_set().
xpath_value_type pugi::xpath_variable::_type [protected] |
Definition at line 947 of file pugixml.hpp.
Referenced by pugi::xpath_variable_set::add(), get_boolean(), get_node_set(), get_number(), get_string(), name(), set(), type(), and pugi::xpath_variable_set::~xpath_variable_set().