pugi::xpath_query Class Reference

#include <pugixml.hpp>

Collaboration diagram for pugi::xpath_query:

Collaboration graph
[legend]

List of all members.

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_resultresult () const
 operator unspecified_bool_type () const
bool operator! () const


Detailed Description

Definition at line 1008 of file pugixml.hpp.


Constructor & Destructor Documentation

PUGI__FN pugi::xpath_query::xpath_query ( const char_t query,
xpath_variable_set variables = 0 
) [explicit]

Definition at line 9215 of file pugixml.cpp.

References pugi::xpath_parse_result::error.

PUGI__FN pugi::xpath_query::~xpath_query (  ) 

Definition at line 9237 of file pugixml.cpp.


Member Function Documentation

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().

Here is the caller graph for this function:

PUGI__FN double pugi::xpath_query::evaluate_number ( const xpath_node n  )  const

Definition at line 9263 of file pugixml.cpp.

References gen_nan().

Here is the call graph for this function:

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().

Here is the call graph for this function:

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().

Here is the call graph for this function:

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

Definition at line 9242 of file pugixml.cpp.

References pugi::xpath_type_none.


The documentation for this class was generated from the following files:

Generated on Thu Jul 6 00:34:24 2017 for Moses by  doxygen 1.5.9