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

#include <_static/pugixml.hpp>

Collaboration diagram for pugi::xpath_variable_set:
[legend]

Public Member Functions

 xpath_variable_set ()
 
 ~xpath_variable_set ()
 
 xpath_variable_set (const xpath_variable_set &rhs)
 
xpath_variable_setoperator= (const xpath_variable_set &rhs)
 
xpath_variableadd (const char_t *name, xpath_value_type type)
 
bool set (const char_t *name, bool value)
 
bool set (const char_t *name, double value)
 
bool set (const char_t *name, const char_t *value)
 
bool set (const char_t *name, const xpath_node_set &value)
 
xpath_variableget (const char_t *name)
 
const xpath_variableget (const char_t *name) const
 

Private Member Functions

void _assign (const xpath_variable_set &rhs)
 
void _swap (xpath_variable_set &rhs)
 
xpath_variable_find (const char_t *name) const
 

Static Private Member Functions

static bool _clone (xpath_variable *var, xpath_variable **out_result)
 
static void _destroy (xpath_variable *var)
 

Private Attributes

xpath_variable_data [64]
 

Detailed Description

Definition at line 1144 of file pugixml.hpp.

Constructor & Destructor Documentation

◆ xpath_variable_set() [1/2]

PUGI__FN pugi::xpath_variable_set::xpath_variable_set ( )

Definition at line 12337 of file pugixml.cpp.

References _data.

◆ ~xpath_variable_set()

PUGI__FN pugi::xpath_variable_set::~xpath_variable_set ( )

Definition at line 12343 of file pugixml.cpp.

References _data, and _destroy().

◆ xpath_variable_set() [2/2]

PUGI__FN pugi::xpath_variable_set::xpath_variable_set ( const xpath_variable_set rhs)

Definition at line 12349 of file pugixml.cpp.

References _assign(), and _data.

Member Function Documentation

◆ _assign()

PUGI__FN void pugi::xpath_variable_set::_assign ( const xpath_variable_set rhs)
private

Definition at line 12390 of file pugixml.cpp.

References _clone(), _data, and _swap().

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

◆ _clone()

PUGI__FN bool pugi::xpath_variable_set::_clone ( xpath_variable var,
xpath_variable **  out_result 
)
staticprivate

◆ _destroy()

PUGI__FN void pugi::xpath_variable_set::_destroy ( xpath_variable var)
staticprivate

◆ _find()

PUGI__FN xpath_variable * pugi::xpath_variable_set::_find ( const char_t name) const
private

Definition at line 12412 of file pugixml.cpp.

References _data, pugi::xpath_variable::_next, hash_string(), setupTemplate::name, and strequal().

Referenced by get().

◆ _swap()

PUGI__FN void pugi::xpath_variable_set::_swap ( xpath_variable_set rhs)
private

Definition at line 12401 of file pugixml.cpp.

References _data.

Referenced by _assign().

◆ add()

PUGI__FN xpath_variable * pugi::xpath_variable_set::add ( const char_t name,
xpath_value_type  type 
)

◆ get() [1/2]

PUGI__FN xpath_variable * pugi::xpath_variable_set::get ( const char_t name)

Definition at line 12511 of file pugixml.cpp.

References _find(), and setupTemplate::name.

◆ get() [2/2]

PUGI__FN const xpath_variable * pugi::xpath_variable_set::get ( const char_t name) const

Definition at line 12516 of file pugixml.cpp.

References _find(), and setupTemplate::name.

◆ operator=()

PUGI__FN xpath_variable_set & pugi::xpath_variable_set::operator= ( const xpath_variable_set rhs)

Definition at line 12357 of file pugixml.cpp.

References _assign().

◆ set() [1/4]

PUGI__FN bool pugi::xpath_variable_set::set ( const char_t name,
bool  value 
)

◆ set() [2/4]

PUGI__FN bool pugi::xpath_variable_set::set ( const char_t name,
const char_t value 
)

◆ set() [3/4]

PUGI__FN bool pugi::xpath_variable_set::set ( const char_t name,
const xpath_node_set value 
)

◆ set() [4/4]

PUGI__FN bool pugi::xpath_variable_set::set ( const char_t name,
double  value 
)

Member Data Documentation

◆ _data

xpath_variable* pugi::xpath_variable_set::_data[64]
private

Definition at line 1147 of file pugixml.hpp.

Referenced by _assign(), _find(), _swap(), add(), xpath_variable_set(), and ~xpath_variable_set().


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