CARLA
Public Member Functions | Protected Member Functions | Protected Attributes | Friends | List of all members
pugi::xpath_variable Class Reference

#include <pugixml.hpp>

+ Collaboration diagram for pugi::xpath_variable:

Public Member Functions

bool get_boolean () const
 
const xpath_node_setget_node_set () const
 
double get_number () const
 
const char_tget_string () const
 
const char_tname () const
 
bool set (bool value)
 
bool set (double value)
 
bool set (const char_t *value)
 
bool set (const xpath_node_set &value)
 
xpath_value_type type () const
 

Protected Member Functions

xpath_variableoperator= (const xpath_variable &)
 
 xpath_variable (xpath_value_type type)
 
 xpath_variable (const xpath_variable &)
 

Protected Attributes

xpath_variable_next
 
xpath_value_type _type
 

Friends

class xpath_variable_set
 

Detailed Description

Definition at line 1105 of file pugixml.hpp.

Constructor & Destructor Documentation

◆ xpath_variable() [1/2]

PUGI__FN xpath_variable::xpath_variable ( xpath_value_type  type)
protected

Definition at line 12177 of file pugixml.cpp.

◆ xpath_variable() [2/2]

pugi::xpath_variable::xpath_variable ( const xpath_variable )
protected

Member Function Documentation

◆ get_boolean()

PUGI__FN bool xpath_variable::get_boolean ( ) const

Definition at line 12208 of file pugixml.cpp.

References _type, and pugi::xpath_type_boolean.

◆ get_node_set()

PUGI__FN const xpath_node_set & xpath_variable::get_node_set ( ) const

Definition at line 12224 of file pugixml.cpp.

References _type, dummy_node_set, and pugi::xpath_type_node_set.

◆ get_number()

PUGI__FN double xpath_variable::get_number ( ) const

Definition at line 12213 of file pugixml.cpp.

References _type, gen_nan(), and pugi::xpath_type_number.

+ Here is the call graph for this function:

◆ get_string()

PUGI__FN const char_t * xpath_variable::get_string ( ) const

Definition at line 12218 of file pugixml.cpp.

References _type, PUGIXML_TEXT, and pugi::xpath_type_string.

◆ name()

PUGI__FN const char_t * xpath_variable::name ( ) const

Definition at line 12181 of file pugixml.cpp.

References _type, pugi::xpath_type_boolean, pugi::xpath_type_node_set, pugi::xpath_type_number, and pugi::xpath_type_string.

Referenced by pugi::xpath_variable_set::_clone(), pugi::xpath_variable_set::_find(), and pugi::xpath_variable_set::add().

+ Here is the caller graph for this function:

◆ operator=()

xpath_variable& pugi::xpath_variable::operator= ( const xpath_variable )
protected

◆ set() [1/4]

PUGI__FN bool xpath_variable::set ( bool  value)

Definition at line 12229 of file pugixml.cpp.

References _type, and pugi::xpath_type_boolean.

Referenced by pugi::xpath_variable_set::set().

+ Here is the caller graph for this function:

◆ set() [2/4]

PUGI__FN bool xpath_variable::set ( double  value)

Definition at line 12237 of file pugixml.cpp.

References _type, and pugi::xpath_type_number.

◆ set() [3/4]

PUGI__FN bool xpath_variable::set ( const char_t value)

Definition at line 12245 of file pugixml.cpp.

References _type, strlength(), and pugi::xpath_type_string.

+ Here is the call graph for this function:

◆ set() [4/4]

PUGI__FN bool xpath_variable::set ( const xpath_node_set value)

Definition at line 12266 of file pugixml.cpp.

References _type, and pugi::xpath_type_node_set.

◆ type()

PUGI__FN xpath_value_type xpath_variable::type ( ) const

Definition at line 12203 of file pugixml.cpp.

References _type.

Friends And Related Function Documentation

◆ xpath_variable_set

friend class xpath_variable_set
friend

Definition at line 1107 of file pugixml.hpp.

Member Data Documentation

◆ _next

xpath_variable* pugi::xpath_variable::_next
protected

◆ _type

xpath_value_type pugi::xpath_variable::_type
protected

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