#include <xpath_stack.h>
Collaboration diagram for TinyXPath::xpath_stack:
Public Member Functions | |
xpath_stack () | |
Constructor. | |
~xpath_stack () | |
Destructor. | |
void | v_push (expression_result er_res) |
Push a new element on the stack. | |
void | v_push_int (int i_elem, const char *cp_comment=NULL) |
Push an integer on the stack. | |
void | v_push_bool (bool o_in) |
Push a bool on the stack. | |
void | v_push_string (TIXML_STRING S_in) |
Push a string on the stack. | |
void | v_push_double (double d_elem) |
Push a double on the stack. | |
void | v_push_node_set (node_set *nsp_ptr) |
Push a node_set on the stack. | |
expression_result * | erp_top () |
Retrieve top expression from the stack. | |
int | i_top_int () |
Query the top integer. | |
void | v_pop (unsigned u_nb=1) |
Pop N element from the stack. | |
int | i_pop_int () |
Pops the top integer from the stack. | |
TIXML_STRING | S_pop_string () |
Pops the top string from the stack. | |
bool | o_pop_bool () |
Pops the top bool from the stack. | |
node_set | ns_pop_node_set () |
Pops the top node_set from the stack. | |
unsigned | u_get_size () |
Return the stack's size. | |
expression_result * | erp_previous (unsigned u_nb) |
Retrieve a previous expression from the stack. | |
void | v_dump () |
Dumps the content of the stack to stdout. | |
Protected Member Functions | |
void | v_pop_one () |
Pop one element from the stack. | |
Protected Attributes | |
result_and_next * | rnp_first |
First element in the stack. | |
unsigned | u_size |
Stack size. |
|
Constructor.
|
|
Destructor.
|
|
Retrieve a previous expression from the stack.
|
|
Retrieve top expression from the stack.
|
|
Pops the top integer from the stack.
|
|
Query the top integer.
|
|
Pops the top node_set from the stack.
|
|
Pops the top bool from the stack.
|
|
Pops the top string from the stack.
|
|
Return the stack's size.
|
|
Dumps the content of the stack to stdout.
|
|
Pop N element from the stack.
|
|
Pop one element from the stack.
|
|
Push a new element on the stack.
|
|
Push a bool on the stack.
|
|
Push a double on the stack.
|
|
Push an integer on the stack.
|
|
Push a node_set on the stack.
|
|
Push a string on the stack.
|
|
First element in the stack.
|
|
Stack size.
|