CARLA
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:

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_resultresult () 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_queryoperator= (const xpath_query &)
 
 xpath_query (const xpath_query &)
 

Private Attributes

void * _impl
 
xpath_parse_result _result
 

Detailed Description

Definition at line 1183 of file pugixml.hpp.

Member Typedef Documentation

◆ unspecified_bool_type

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

Definition at line 1189 of file pugixml.hpp.

Constructor & Destructor Documentation

◆ xpath_query() [1/3]

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

◆ xpath_query() [2/3]

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

Definition at line 12458 of file pugixml.cpp.

References _impl, _result, pugi::xpath_parse_result::error, and auto_deleter< T >::release().

+ Here is the call graph for this function:

◆ xpath_query() [3/3]

PUGI__FN pugi::xpath_query::xpath_query ( )

Definition at line 12496 of file pugixml.cpp.

Referenced by ~xpath_query().

+ Here is the caller graph for this function:

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

+ Here is the call graph for this function:

Member Function Documentation

◆ evaluate_boolean()

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

Definition at line 12538 of file pugixml.cpp.

References _impl, and sd.

◆ evaluate_node()

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

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ evaluate_node_set()

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

+ Here is the call graph for this function:
+ 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 12559 of file pugixml.cpp.

References _impl, gen_nan(), and sd.

+ Here is the call graph for this function:

◆ evaluate_string() [1/2]

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

Definition at line 12581 of file pugixml.cpp.

References _impl, and sd.

◆ evaluate_string() [2/2]

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.

References _impl, and sd.

◆ operator unspecified_bool_type()

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

+ Here is the call graph for this function:

◆ operator!()

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

Definition at line 12691 of file pugixml.cpp.

References _impl.

◆ operator=()

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

Referenced by ~xpath_query().

+ Here is the caller graph for this function:

◆ result()

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

Definition at line 12677 of file pugixml.cpp.

References _result.

◆ return_type()

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.

Member Data Documentation

◆ _impl

void* pugi::xpath_query::_impl
private

◆ _result

xpath_parse_result pugi::xpath_query::_result
private

Definition at line 1187 of file pugixml.hpp.

Referenced by result(), xpath_query(), and ~xpath_query().


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