ETISS 0.8.0
Extendable Translating Instruction Set Simulator (version 0.8.0)
Public Member Functions | Private Types | Private Member Functions | Private Attributes | List of all members
pugi::xpath_query Class Reference

#include <pugixml.hpp>

Collaboration diagram for pugi::xpath_query:
Collaboration graph
[legend]

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
 

Private Types

typedef void(* unspecified_bool_type) (xpath_query ***)
 

Private Member Functions

 xpath_query (const xpath_query &)
 
xpath_queryoperator= (const xpath_query &)
 

Private Attributes

void * _impl
 
xpath_parse_result _result
 

Detailed Description

Definition at line 1087 of file pugixml.hpp.

Member Typedef Documentation

◆ unspecified_bool_type

typedef void(* pugi::xpath_query::unspecified_bool_type) (xpath_query ***)
private

Definition at line 1093 of file pugixml.hpp.

Constructor & Destructor Documentation

◆ xpath_query() [1/2]

pugi::xpath_query::xpath_query ( const xpath_query )
private

◆ xpath_query() [2/2]

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

Definition at line 10995 of file pugixml.cpp.

References _impl, _result, and pugi::xpath_parse_result::error.

◆ ~xpath_query()

PUGI__FN pugi::xpath_query::~xpath_query ( )

Definition at line 11021 of file pugixml.cpp.

References _impl.

Member Function Documentation

◆ evaluate_boolean()

PUGI__FN bool pugi::xpath_query::evaluate_boolean ( const xpath_node n) const

Definition at line 11034 of file pugixml.cpp.

References _impl, and c.

◆ evaluate_node_set()

PUGI__FN xpath_node_set pugi::xpath_query::evaluate_node_set ( const xpath_node n) const

Definition at line 11095 of file pugixml.cpp.

References _impl, c, 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:

◆ evaluate_number()

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

Definition at line 11050 of file pugixml.cpp.

References _impl, c, and gen_nan().

Here is the call graph for this function:

◆ evaluate_string() [1/2]

PUGI__FN size_t pugi::xpath_query::evaluate_string ( char_t buffer,
size_t  capacity,
const xpath_node n 
) const

Definition at line 11075 of file pugixml.cpp.

References _impl, evaluate_string_impl(), and memcpy().

Here is the call graph for this function:

◆ evaluate_string() [2/2]

PUGI__FN string_t pugi::xpath_query::evaluate_string ( const xpath_node n) const

Definition at line 11067 of file pugixml.cpp.

References _impl, xpath_string::c_str(), and evaluate_string_impl().

Here is the call graph for this function:

◆ operator unspecified_bool_type()

PUGI__FN pugi::xpath_query::operator xpath_query::unspecified_bool_type ( ) const

Definition at line 11134 of file pugixml.cpp.

References _impl, and pugi::unspecified_bool_xpath_query().

Here is the call graph for this function:

◆ operator!()

PUGI__FN bool pugi::xpath_query::operator! ( ) const

Definition at line 11139 of file pugixml.cpp.

References _impl.

◆ operator=()

xpath_query& pugi::xpath_query::operator= ( const xpath_query )
private

◆ result()

PUGI__FN const xpath_parse_result & pugi::xpath_query::result ( ) const

Definition at line 11127 of file pugixml.cpp.

References _result.

◆ return_type()

PUGI__FN xpath_value_type pugi::xpath_query::return_type ( ) const

Definition at line 11026 of file pugixml.cpp.

References _impl, and pugi::xpath_type_none.

Member Data Documentation

◆ _impl

void* pugi::xpath_query::_impl
private

◆ _result

xpath_parse_result pugi::xpath_query::_result
private

Definition at line 1091 of file pugixml.hpp.

Referenced by result(), and xpath_query().


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