#include <pugixml.hpp>
Public Member Functions | |
bool | get_boolean () const |
const xpath_node_set & | get_node_set () const |
double | get_number () const |
const char_t * | get_string () const |
const char_t * | name () const |
bool | set (bool value) |
bool | set (double value) |
bool | set (const char_t *value) |
bool | set (const xpath_node_set &value) |
xpath_value_type | type () const |
Protected Member Functions | |
xpath_variable & | operator= (const xpath_variable &) |
xpath_variable (xpath_value_type type) | |
xpath_variable (const xpath_variable &) | |
Protected Attributes | |
xpath_variable * | _next |
xpath_value_type | _type |
Friends | |
class | xpath_variable_set |
Definition at line 1105 of file pugixml.hpp.
|
protected |
Definition at line 12177 of file pugixml.cpp.
|
protected |
PUGI__FN bool xpath_variable::get_boolean | ( | ) | const |
Definition at line 12208 of file pugixml.cpp.
References _type, and pugi::xpath_type_boolean.
PUGI__FN const xpath_node_set & xpath_variable::get_node_set | ( | ) | const |
Definition at line 12224 of file pugixml.cpp.
References _type, dummy_node_set, and pugi::xpath_type_node_set.
PUGI__FN double xpath_variable::get_number | ( | ) | const |
Definition at line 12213 of file pugixml.cpp.
References _type, gen_nan(), and pugi::xpath_type_number.
Definition at line 12218 of file pugixml.cpp.
References _type, PUGIXML_TEXT, and pugi::xpath_type_string.
Definition at line 12181 of file pugixml.cpp.
References _type, pugi::xpath_type_boolean, pugi::xpath_type_node_set, pugi::xpath_type_number, and pugi::xpath_type_string.
Referenced by pugi::xpath_variable_set::_clone(), pugi::xpath_variable_set::_find(), and pugi::xpath_variable_set::add().
|
protected |
PUGI__FN bool xpath_variable::set | ( | bool | value | ) |
Definition at line 12229 of file pugixml.cpp.
References _type, and pugi::xpath_type_boolean.
Referenced by pugi::xpath_variable_set::set().
PUGI__FN bool xpath_variable::set | ( | double | value | ) |
Definition at line 12237 of file pugixml.cpp.
References _type, and pugi::xpath_type_number.
Definition at line 12245 of file pugixml.cpp.
References _type, strlength(), and pugi::xpath_type_string.
PUGI__FN bool xpath_variable::set | ( | const xpath_node_set & | value | ) |
Definition at line 12266 of file pugixml.cpp.
References _type, and pugi::xpath_type_node_set.
PUGI__FN xpath_value_type xpath_variable::type | ( | ) | const |
Definition at line 12203 of file pugixml.cpp.
References _type.
|
friend |
Definition at line 1107 of file pugixml.hpp.
|
protected |
Definition at line 1111 of file pugixml.hpp.
Referenced by pugi::xpath_variable_set::_clone(), pugi::xpath_variable_set::_destroy(), pugi::xpath_variable_set::_find(), and pugi::xpath_variable_set::add().
|
protected |
Definition at line 1110 of file pugixml.hpp.
Referenced by pugi::xpath_variable_set::_clone(), pugi::xpath_variable_set::_destroy(), get_boolean(), get_node_set(), get_number(), get_string(), name(), set(), and type().