CARLA
Loading...
Searching...
No Matches
pugi::xpath_variable Class Reference

#include <pugixml.hpp>

Public Member Functions

bool get_boolean () const
const xpath_node_set & get_node_set () const
double get_number () const
const char_t * get_string () const
const char_t * name () const
bool set (bool value)
bool set (const char_t *value)
bool set (const xpath_node_set &value)
bool set (double value)
xpath_value_type type () const

Protected Member Functions

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

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.

References _next, _type, and PUGI__FN.

Referenced by operator=(), and xpath_variable().

◆ xpath_variable() [2/2]

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

References xpath_variable().

Member Function Documentation

◆ get_boolean()

PUGI__FN bool xpath_variable::get_boolean ( ) const

Definition at line 12208 of file pugixml.cpp.

References _type, PUGI__FN, and pugi::xpath_type_boolean.

Referenced by operator=().

◆ 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, PUGI__FN, and pugi::xpath_type_node_set.

Referenced by operator=().

◆ get_number()

PUGI__FN double xpath_variable::get_number ( ) const

Definition at line 12213 of file pugixml.cpp.

References _type, PUGI__FN, and pugi::xpath_type_number.

Referenced by operator=().

◆ get_string()

PUGI__FN const char_t * xpath_variable::get_string ( ) const

Definition at line 12218 of file pugixml.cpp.

References _type, PUGI__FN, PUGIXML_TEXT, and pugi::xpath_type_string.

Referenced by operator=().

◆ name()

◆ operator=()

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

◆ set() [1/4]

◆ set() [2/4]

PUGI__FN bool xpath_variable::set ( const char_t * value)

Definition at line 12245 of file pugixml.cpp.

References _type, PUGI__FN, and pugi::xpath_type_string.

◆ set() [3/4]

PUGI__FN bool xpath_variable::set ( const xpath_node_set & value)

Definition at line 12266 of file pugixml.cpp.

References _type, PUGI__FN, and pugi::xpath_type_node_set.

◆ set() [4/4]

PUGI__FN bool xpath_variable::set ( double value)

Definition at line 12237 of file pugixml.cpp.

References _type, PUGI__FN, and pugi::xpath_type_number.

◆ type()

PUGI__FN xpath_value_type xpath_variable::type ( ) const

Definition at line 12203 of file pugixml.cpp.

References _type, and PUGI__FN.

Referenced by operator=().

◆ xpath_variable_set

friend class xpath_variable_set
friend

Definition at line 1107 of file pugixml.hpp.

References xpath_variable_set.

Referenced by xpath_variable_set.

Member Data Documentation

◆ _next

◆ _type


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