CARLA
Public Member Functions | Private Member Functions | Static Private Member Functions | Private Attributes | List of all members
pugi::xpath_variable_set Class Reference

#include <pugixml.hpp>

+ Collaboration diagram for pugi::xpath_variable_set:

Public Member Functions

xpath_variableadd (const char_t *name, xpath_value_type type)
 
xpath_variableget (const char_t *name)
 
const xpath_variableget (const char_t *name) const
 
xpath_variable_setoperator= (const xpath_variable_set &rhs)
 
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_variable_set ()
 
 xpath_variable_set (const xpath_variable_set &rhs)
 
 ~xpath_variable_set ()
 

Private Member Functions

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

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 1140 of file pugixml.hpp.

Constructor & Destructor Documentation

◆ xpath_variable_set() [1/2]

PUGI__FN pugi::xpath_variable_set::xpath_variable_set ( )

Definition at line 12274 of file pugixml.cpp.

Referenced by operator=().

+ Here is the caller graph for this function:

◆ ~xpath_variable_set()

PUGI__FN pugi::xpath_variable_set::~xpath_variable_set ( )

Definition at line 12280 of file pugixml.cpp.

◆ xpath_variable_set() [2/2]

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

Definition at line 12286 of file pugixml.cpp.

Member Function Documentation

◆ _assign()

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

Definition at line 12327 of file pugixml.cpp.

References _data.

◆ _clone()

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

Definition at line 12362 of file pugixml.cpp.

References pugi::xpath_variable::_next, pugi::xpath_variable::_type, copy_xpath_variable(), pugi::xpath_variable::name(), and new_xpath_variable().

+ Here is the call graph for this function:

◆ _destroy()

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

Definition at line 12389 of file pugixml.cpp.

References pugi::xpath_variable::_next, pugi::xpath_variable::_type, and delete_xpath_variable().

+ Here is the call graph for this function:

◆ _find()

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

Definition at line 12349 of file pugixml.cpp.

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

+ Here is the call graph for this function:

◆ _swap()

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

Definition at line 12338 of file pugixml.cpp.

References _data.

◆ add()

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

Definition at line 12401 of file pugixml.cpp.

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

+ Here is the call graph for this function:

◆ get() [1/2]

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

Definition at line 12448 of file pugixml.cpp.

◆ get() [2/2]

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

Definition at line 12453 of file pugixml.cpp.

◆ operator=()

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

Definition at line 12294 of file pugixml.cpp.

References PUGI__FN, PUGIXML_NOEXCEPT, and xpath_variable_set().

+ Here is the call graph for this function:

◆ set() [1/4]

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

Definition at line 12424 of file pugixml.cpp.

References pugi::xpath_variable::set(), and pugi::xpath_type_boolean.

+ Here is the call graph for this function:

◆ set() [2/4]

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

Definition at line 12430 of file pugixml.cpp.

References pugi::xpath_variable::set(), and pugi::xpath_type_number.

+ Here is the call graph for this function:

◆ set() [3/4]

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

Definition at line 12436 of file pugixml.cpp.

References pugi::xpath_variable::set(), and pugi::xpath_type_string.

+ Here is the call graph for this function:

◆ set() [4/4]

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

Definition at line 12442 of file pugixml.cpp.

References pugi::xpath_variable::set(), and pugi::xpath_type_node_set.

+ Here is the call graph for this function:

Member Data Documentation

◆ _data

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

Definition at line 1143 of file pugixml.hpp.

Referenced by _assign(), and _swap().


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