#include <xpath_expression.h>
Inheritance diagram for TinyXPath::expression_result:
Public Member Functions | |
expression_result () | |
Dummy constructor. | |
expression_result (const expression_result &er_2) | |
Copy constructor. | |
expression_result & | operator= (const expression_result &er_2) |
void | v_set_bool (bool o_in) |
Set expression_result to a bool. | |
void | v_set_int (int i_in) |
Set expression_result to an int. | |
void | v_set_string (const char *cp_in) |
Set expression_result to a string. | |
void | v_set_string (TIXML_STRING S_in) |
Set expression_result to a string. | |
void | v_set_double (double d_in) |
Set expression_result to a double. | |
void | v_set_comment (const char *cp_in) |
Set the comment associated with a stack element. This is for debuging. | |
int | i_get_int () |
Get the expression_result as an int. | |
TIXML_STRING | S_get_string () |
Get the expression_result as a string. | |
const char * | cp_get_string () |
Get the expression_result as a string. | |
bool | o_get_bool () |
Get the expression_result as a bool The boolean function converts its argument to a boolean as follows: - a number is true if and only if it is neither positive or negative zero nor NaN - a node-set is true if and only if it is non-empty - a string is true if and only if its length is non-zero - an object of a type other than the four basic types is converted to a boolean in a way that is dependent on that type. | |
double | d_get_double () |
Get the expression_result as a double. | |
void | v_set_node_set (node_set *nsp_source) |
Set the expression_result as a node set. | |
void | v_set_node_set (TiXmlNode *XNp_root) |
Set the expression_result as a node set. | |
void | v_set_node_set (TiXmlNode *XNp_root, const char *cp_lookup) |
Set the expression_result as a node set. | |
void | v_set_node_set_recursive (TiXmlNode *XNp_root) |
Set the expression_result as a node set. | |
void | v_set_node_set_recursive (TiXmlNode *XNp_root, const char *cp_lookup) |
Set the expression_result as a node set. | |
void | v_set_node_set () |
Set the expression_result as an empty node set. | |
node_set * | nsp_get_node_set () |
Get the expression_result as a node set. | |
void | v_dump () |
Debug function to print an expression_result to stdout. | |
Public Attributes | |
e_expression_type | e_type |
expression type | |
Protected Attributes | |
TIXML_STRING | S_content |
String content. | |
TIXML_STRING | S_comment |
Comment. This is for debuging only, for stack dump. | |
bool | o_content |
bool content | |
int | i_content |
integer content | |
double | d_content |
double content | |
node_set | ns_set |
node set content |
|
Dummy constructor.
|
|
Copy constructor.
|
|
Get the expression_result as a string.
|
|
Get the expression_result as a double.
|
|
Get the expression_result as an int.
|
|
Get the expression_result as a node set.
|
|
Get the expression_result as a bool
|
|
|
|
Get the expression_result as a string.
|
|
Debug function to print an expression_result to stdout.
Reimplemented in TinyXPath::result_and_next. |
|
Set expression_result to a bool.
|
|
Set the comment associated with a stack element. This is for debuging.
|
|
Set expression_result to a double.
|
|
Set expression_result to an int.
|
|
Set the expression_result as an empty node set.
|
|
Set the expression_result as a node set.
|
|
Set the expression_result as a node set.
|
|
Set the expression_result as a node set.
|
|
Set the expression_result as a node set.
|
|
Set the expression_result as a node set.
|
|
Set expression_result to a string.
|
|
Set expression_result to a string.
|
|
double content
|
|
expression type
|
|
integer content
|
|
node set content
|
|
bool content
|
|
Comment. This is for debuging only, for stack dump.
|
|
String content.
|