#include <_static/pugixml.hpp>
Public Member Functions | |
xpath_variable_set () | |
~xpath_variable_set () | |
xpath_variable_set (const xpath_variable_set &rhs) | |
xpath_variable_set & | operator= (const xpath_variable_set &rhs) |
xpath_variable * | add (const char_t *name, xpath_value_type type) |
bool | set (const char_t *name, bool value) |
bool | set (const char_t *name, double value) |
bool | set (const char_t *name, const char_t *value) |
bool | set (const char_t *name, const xpath_node_set &value) |
xpath_variable * | get (const char_t *name) |
const xpath_variable * | get (const char_t *name) const |
Private Member Functions | |
void | _assign (const xpath_variable_set &rhs) |
void | _swap (xpath_variable_set &rhs) |
xpath_variable * | _find (const char_t *name) const |
Static Private Member Functions | |
static bool | _clone (xpath_variable *var, xpath_variable **out_result) |
static void | _destroy (xpath_variable *var) |
Private Attributes | |
xpath_variable * | _data [64] |
Definition at line 1144 of file pugixml.hpp.
PUGI__FN pugi::xpath_variable_set::xpath_variable_set | ( | ) |
Definition at line 12337 of file pugixml.cpp.
References _data.
PUGI__FN pugi::xpath_variable_set::~xpath_variable_set | ( | ) |
Definition at line 12343 of file pugixml.cpp.
References _data, and _destroy().
PUGI__FN pugi::xpath_variable_set::xpath_variable_set | ( | const xpath_variable_set & | rhs | ) |
Definition at line 12349 of file pugixml.cpp.
|
private |
Definition at line 12390 of file pugixml.cpp.
References _clone(), _data, and _swap().
Referenced by operator=(), and xpath_variable_set().
|
staticprivate |
Definition at line 12425 of file pugixml.cpp.
References pugi::xpath_variable::_next, pugi::xpath_variable::_type, copy_xpath_variable(), pugi::xpath_variable::name(), and new_xpath_variable().
Referenced by _assign().
|
staticprivate |
Definition at line 12452 of file pugixml.cpp.
References pugi::xpath_variable::_next, pugi::xpath_variable::_type, and delete_xpath_variable().
Referenced by ~xpath_variable_set().
|
private |
Definition at line 12412 of file pugixml.cpp.
References _data, pugi::xpath_variable::_next, hash_string(), setupTemplate::name, and strequal().
Referenced by get().
|
private |
PUGI__FN xpath_variable * pugi::xpath_variable_set::add | ( | const char_t * | name, |
xpath_value_type | type | ||
) |
Definition at line 12464 of file pugixml.cpp.
References _data, pugi::xpath_variable::_next, hash_string(), setupTemplate::name, new_xpath_variable(), and strequal().
Referenced by set().
PUGI__FN xpath_variable * pugi::xpath_variable_set::get | ( | const char_t * | name | ) |
Definition at line 12511 of file pugixml.cpp.
References _find(), and setupTemplate::name.
PUGI__FN const xpath_variable * pugi::xpath_variable_set::get | ( | const char_t * | name | ) | const |
Definition at line 12516 of file pugixml.cpp.
References _find(), and setupTemplate::name.
PUGI__FN xpath_variable_set & pugi::xpath_variable_set::operator= | ( | const xpath_variable_set & | rhs | ) |
Definition at line 12357 of file pugixml.cpp.
References _assign().
Definition at line 12487 of file pugixml.cpp.
References add(), setupTemplate::name, pugi::xpath_variable::set(), and pugi::xpath_type_boolean.
Definition at line 12499 of file pugixml.cpp.
References add(), setupTemplate::name, pugi::xpath_variable::set(), and pugi::xpath_type_string.
PUGI__FN bool pugi::xpath_variable_set::set | ( | const char_t * | name, |
const xpath_node_set & | value | ||
) |
Definition at line 12505 of file pugixml.cpp.
References add(), setupTemplate::name, pugi::xpath_variable::set(), and pugi::xpath_type_node_set.
Definition at line 12493 of file pugixml.cpp.
References add(), setupTemplate::name, pugi::xpath_variable::set(), and pugi::xpath_type_number.
|
private |
Definition at line 1147 of file pugixml.hpp.
Referenced by _assign(), _find(), _swap(), add(), xpath_variable_set(), and ~xpath_variable_set().