34 #pragma clang diagnostic push 35 #pragma clang diagnostic ignored "-Wundefined-bool-conversion" 50 #ifdef TINYXPATH_DEBUG 102 #ifdef TINYXPATH_DEBUG 103 S_comment = er_2 . S_comment;
140 #ifdef TINYXPATH_DEBUG 150 return S_content . c_str ();
158 ns_set = * nsp_source;
164 ns_set . v_copy_node_children (XNp_root);
170 ns_set . v_copy_node_children (XNp_root, cp_lookup);
176 ns_set . v_copy_selected_node_recursive (XNp_root);
182 ns_set . v_copy_selected_node_recursive (XNp_root, cp_lookup);
194 #ifdef TINYXPATH_DEBUG 202 #pragma clang diagnostic pop
expression_result & operator=(const expression_result &er_2)
Definition: xpath_expression.h:80
void v_set_bool(bool o_in)
Set expression_result to a bool.
Definition: xpath_expression.h:108
TiXmlString S_get_string()
Get the expression_result as a string.
Definition: xpath_expression.cpp:66
Definition: xpath_expression.h:42
void v_set_string(const char *cp_in)
Set expression_result to a string.
Definition: xpath_expression.h:120
double d_get_double()
Get the expression_result as a double.
Definition: xpath_expression.cpp:50
bool o_get_bool()
Definition: xpath_expression.cpp:117
Definition: xpath_expression.h:42
Definition: xpath_expression.h:42
expression_result()
Dummy constructor.
Definition: xpath_expression.h:67
Definition: action_store.cpp:32
node_set * nsp_get_node_set()
Get the expression_result as a node set.
Definition: xpath_expression.h:190
Definition: xpath_expression.h:42
void v_set_comment(const char *cp_in)
Set the comment associated with a stack element. This is for debuging.
Definition: xpath_expression.h:138
void v_set_string(TiXmlString S_in)
Set expression_result to a string.
Definition: xpath_expression.h:126
int i_get_int()
Get the expression_result as an int.
Definition: xpath_expression.cpp:34
Class holding the result of an expression (e_expression_type)
Definition: xpath_expression.h:45
Definition: xpath_expression.h:42
expression_result(const expression_result &er_2)
Copy constructor.
Definition: xpath_expression.h:75
const char * cp_get_string()
Get the expression_result as a string.
Definition: xpath_expression.h:147
bool o_content
bool content
Definition: xpath_expression.h:55
e_expression_type
Expression types.
Definition: xpath_expression.h:42
void v_set_node_set_recursive(TiXmlNode *XNp_root)
Set the expression_result as a node set.
Definition: xpath_expression.h:173
TiXmlString S_content
String content.
Definition: xpath_expression.h:49
void v_set_double(double d_in)
Set expression_result to a double.
Definition: xpath_expression.h:132
Definition: xpath_expression.h:42
double d_content
double content
Definition: xpath_expression.h:59
Node set class. A node set is an unordered collection of node.
Definition: node_set.h:34
void v_set_node_set(node_set *nsp_source)
Set the expression_result as a node set.
Definition: xpath_expression.h:155
Definition: tinyxml.h:363
int i_content
integer content
Definition: xpath_expression.h:57
void v_set_int(int i_in)
Set expression_result to an int.
Definition: xpath_expression.h:114
void v_set_node_set(TiXmlNode *XNp_root, const char *cp_lookup)
Set the expression_result as a node set.
Definition: xpath_expression.h:167
e_expression_type e_type
expression type
Definition: xpath_expression.h:65
node_set ns_set
node set content
Definition: xpath_expression.h:61
void v_set_node_set(TiXmlNode *XNp_root)
Set the expression_result as a node set.
Definition: xpath_expression.h:161
void v_set_node_set()
Set the expression_result as an empty node set.
Definition: xpath_expression.h:185
#define TIXML_STRING
Definition: tinyxml.h:67
void v_set_node_set_recursive(TiXmlNode *XNp_root, const char *cp_lookup)
Set the expression_result as a node set.
Definition: xpath_expression.h:179