μHAL (v2.7.9)
Part of the IPbus software repository
Public Member Functions | Protected Member Functions | Protected Attributes | Friends | List of all members
pugi::xpath_variable Class Reference

#include <_static/pugixml.hpp>

Collaboration diagram for pugi::xpath_variable:
[legend]

Public Member Functions

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

Protected Member Functions

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

Protected Attributes

xpath_value_type _type
 
xpath_variable_next
 

Friends

class xpath_variable_set
 

Detailed Description

Definition at line 1109 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 12240 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 12271 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 12287 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 12276 of file pugixml.cpp.

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

◆ get_string()

PUGI__FN const char_t * xpath_variable::get_string ( ) const

Definition at line 12281 of file pugixml.cpp.

References _type, PUGIXML_TEXT, and pugi::xpath_type_string.

◆ name()

PUGI__FN const char_t * xpath_variable::name ( ) const

◆ 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 12292 of file pugixml.cpp.

References _type, and pugi::xpath_type_boolean.

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

◆ set() [2/4]

PUGI__FN bool xpath_variable::set ( const char_t value)

Definition at line 12308 of file pugixml.cpp.

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

◆ set() [3/4]

PUGI__FN bool xpath_variable::set ( const xpath_node_set value)

Definition at line 12329 of file pugixml.cpp.

References _type, and pugi::xpath_type_node_set.

◆ set() [4/4]

PUGI__FN bool xpath_variable::set ( double  value)

Definition at line 12300 of file pugixml.cpp.

References _type, and pugi::xpath_type_number.

◆ type()

PUGI__FN xpath_value_type xpath_variable::type ( ) const

Definition at line 12266 of file pugixml.cpp.

References _type.

Friends And Related Function Documentation

◆ xpath_variable_set

friend class xpath_variable_set
friend

Definition at line 1111 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: