#include <pugixml.hpp>
Public Member Functions | |
bool | evaluate_boolean (const xpath_node &n) const |
xpath_node | evaluate_node (const xpath_node &n) const |
xpath_node_set | evaluate_node_set (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 |
operator unspecified_bool_type () const | |
bool | operator! () const |
const xpath_parse_result & | result () const |
xpath_value_type | return_type () const |
xpath_query (const char_t *query, xpath_variable_set *variables=0) | |
xpath_query () | |
~xpath_query () | |
Private Types | |
typedef void(* | unspecified_bool_type) (xpath_query ***) |
Private Member Functions | |
xpath_query & | operator= (const xpath_query &) |
xpath_query (const xpath_query &) | |
Private Attributes | |
void * | _impl |
xpath_parse_result | _result |
Definition at line 1183 of file pugixml.hpp.
|
private |
Definition at line 1189 of file pugixml.hpp.
|
private |
|
explicit |
Definition at line 12458 of file pugixml.cpp.
References _impl, _result, pugi::xpath_parse_result::error, and auto_deleter< T >::release().
PUGI__FN pugi::xpath_query::xpath_query | ( | ) |
Definition at line 12496 of file pugixml.cpp.
Referenced by ~xpath_query().
PUGI__FN pugi::xpath_query::~xpath_query | ( | ) |
Definition at line 12500 of file pugixml.cpp.
References _impl, _result, operator=(), PUGI__FN, PUGIXML_NOEXCEPT, and xpath_query().
PUGI__FN bool pugi::xpath_query::evaluate_boolean | ( | const xpath_node & | n | ) | const |
Definition at line 12538 of file pugixml.cpp.
PUGI__FN xpath_node pugi::xpath_query::evaluate_node | ( | const xpath_node & | n | ) | const |
Definition at line 12655 of file pugixml.cpp.
References _impl, evaluate_node_set_prepare(), nodeset_eval_first, and sd.
Referenced by pugi::xml_node::select_node(), and pugi::xml_node::select_single_node().
PUGI__FN xpath_node_set pugi::xpath_query::evaluate_node_set | ( | const xpath_node & | n | ) | const |
Definition at line 12633 of file pugixml.cpp.
References _impl, evaluate_node_set_prepare(), nodeset_eval_all, and sd.
Referenced by pugi::xml_node::select_nodes().
PUGI__FN double pugi::xpath_query::evaluate_number | ( | const xpath_node & | n | ) | const |
Definition at line 12559 of file pugixml.cpp.
References _impl, gen_nan(), and sd.
PUGI__FN string_t pugi::xpath_query::evaluate_string | ( | const xpath_node & | n | ) | const |
Definition at line 12581 of file pugixml.cpp.
PUGI__FN size_t pugi::xpath_query::evaluate_string | ( | char_t * | buffer, |
size_t | capacity, | ||
const xpath_node & | n | ||
) | const |
Definition at line 12603 of file pugixml.cpp.
PUGI__FN pugi::xpath_query::operator xpath_query::unspecified_bool_type | ( | ) | const |
Definition at line 12686 of file pugixml.cpp.
References _impl, and pugi::unspecified_bool_xpath_query().
PUGI__FN bool pugi::xpath_query::operator! | ( | ) | const |
Definition at line 12691 of file pugixml.cpp.
References _impl.
|
private |
PUGI__FN const xpath_parse_result & pugi::xpath_query::result | ( | ) | const |
Definition at line 12677 of file pugixml.cpp.
References _result.
PUGI__FN xpath_value_type pugi::xpath_query::return_type | ( | ) | const |
Definition at line 12531 of file pugixml.cpp.
References _impl, and pugi::xpath_type_none.
|
private |
Definition at line 1186 of file pugixml.hpp.
Referenced by evaluate_boolean(), evaluate_node(), evaluate_node_set(), evaluate_number(), evaluate_string(), operator unspecified_bool_type(), operator!(), return_type(), xpath_query(), and ~xpath_query().
|
private |
Definition at line 1187 of file pugixml.hpp.
Referenced by result(), xpath_query(), and ~xpath_query().