ETISS 0.8.0
Extendable Translating Instruction Set Simulator (version 0.8.0)
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:
Collaboration graph
[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_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 1021 of file pugixml.hpp.

Constructor & Destructor Documentation

◆ xpath_variable() [1/2]

PUGI__FN xpath_variable::xpath_variable ( )
protected

Definition at line 10797 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 10826 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 10844 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 10831 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 10837 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 10799 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 get_metrics.MemRange::stats().

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 10850 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 ( const char_t value)

Definition at line 10868 of file pugixml.cpp.

References _type, etiss::copy(), memcpy(), strlength(), and pugi::xpath_type_string.

Here is the call graph for this function:

◆ set() [3/4]

PUGI__FN bool xpath_variable::set ( const xpath_node_set value)

Definition at line 10892 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 10859 of file pugixml.cpp.

References _type, and pugi::xpath_type_number.

◆ type()

PUGI__FN xpath_value_type xpath_variable::type ( ) const

Definition at line 10821 of file pugixml.cpp.

References _type.

Friends And Related Function Documentation

◆ xpath_variable_set

friend class xpath_variable_set
friend

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