#include <pugixml.hpp>
Public Member Functions | |
xpath_query (const char_t *query, xpath_variable_set *variables=0) | |
~xpath_query () | |
xpath_value_type | return_type () const |
bool | evaluate_boolean (const xpath_node &n) const |
double | evaluate_number (const xpath_node &n) const |
string_t | evaluate_string (const xpath_node &n) const |
size_t | evaluate_string (char_t *buffer, size_t capacity, const xpath_node &n) const |
xpath_node_set | evaluate_node_set (const xpath_node &n) const |
const xpath_parse_result & | result () const |
operator unspecified_bool_type () const | |
bool | operator! () const |
Definition at line 1008 of file pugixml.hpp.
PUGI__FN pugi::xpath_query::xpath_query | ( | const char_t * | query, | |
xpath_variable_set * | variables = 0 | |||
) | [explicit] |
PUGI__FN pugi::xpath_query::~xpath_query | ( | ) |
Definition at line 9237 of file pugixml.cpp.
PUGI__FN bool pugi::xpath_query::evaluate_boolean | ( | const xpath_node & | n | ) | const |
Definition at line 9249 of file pugixml.cpp.
PUGI__FN xpath_node_set pugi::xpath_query::evaluate_node_set | ( | const xpath_node & | n | ) | const |
Definition at line 9305 of file pugixml.cpp.
References pugi::xpath_parse_result::error, and pugi::xpath_type_node_set.
Referenced by pugi::xml_node::select_nodes(), and pugi::xml_node::select_single_node().
PUGI__FN double pugi::xpath_query::evaluate_number | ( | const xpath_node & | n | ) | const |
Definition at line 9263 of file pugixml.cpp.
References gen_nan().
PUGI__FN size_t pugi::xpath_query::evaluate_string | ( | char_t * | buffer, | |
size_t | capacity, | |||
const xpath_node & | n | |||
) | const |
Definition at line 9286 of file pugixml.cpp.
References evaluate_string_impl().
PUGI__FN string_t pugi::xpath_query::evaluate_string | ( | const xpath_node & | n | ) | const |
Definition at line 9278 of file pugixml.cpp.
References xpath_string::c_str(), and evaluate_string_impl().
PUGI__FN pugi::xpath_query::operator xpath_query::unspecified_bool_type | ( | ) | const |
Definition at line 9343 of file pugixml.cpp.
PUGI__FN bool pugi::xpath_query::operator! | ( | ) | const |
Definition at line 9348 of file pugixml.cpp.
PUGI__FN const xpath_parse_result & pugi::xpath_query::result | ( | ) | const |
Definition at line 9334 of file pugixml.cpp.
PUGI__FN xpath_value_type pugi::xpath_query::return_type | ( | ) | const |