pugi::xpath_variable Class Reference

#include <pugixml.hpp>

Collaboration diagram for pugi::xpath_variable:

Collaboration graph
[legend]

List of all members.

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


Constructor & Destructor Documentation

PUGI__FN pugi::xpath_variable::xpath_variable (  )  [protected]

Definition at line 9029 of file pugixml.cpp.

pugi::xpath_variable::xpath_variable ( const xpath_variable  )  [protected]


Member Function Documentation

PUGI__FN bool pugi::xpath_variable::get_boolean (  )  const

Definition at line 9059 of file pugixml.cpp.

References _type, and pugi::xpath_type_boolean.

PUGI__FN const xpath_node_set & pugi::xpath_variable::get_node_set (  )  const

Definition at line 9075 of file pugixml.cpp.

References _type, and pugi::xpath_type_node_set.

PUGI__FN double pugi::xpath_variable::get_number (  )  const

Definition at line 9064 of file pugixml.cpp.

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

Here is the call graph for this function:

PUGI__FN const char_t * pugi::xpath_variable::get_string (  )  const

Definition at line 9069 of file pugixml.cpp.

References _type, PUGIXML_TEXT, and pugi::xpath_type_string.

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

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

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

Definition at line 9117 of file pugixml.cpp.

References _type, and pugi::xpath_type_node_set.

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

Definition at line 9096 of file pugixml.cpp.

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

Here is the call graph for this function:

PUGI__FN bool pugi::xpath_variable::set ( double  value  ) 

Definition at line 9088 of file pugixml.cpp.

References _type, and pugi::xpath_type_number.

PUGI__FN bool pugi::xpath_variable::set ( bool  value  ) 

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

PUGI__FN xpath_value_type pugi::xpath_variable::type (  )  const

Definition at line 9054 of file pugixml.cpp.

References _type.


Friends And Related Function Documentation

friend class xpath_variable_set [friend]

Definition at line 944 of file pugixml.hpp.


Member Data Documentation


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

Generated on Thu Jul 6 00:34:24 2017 for Moses by  doxygen 1.5.9