Public Member Functions | Protected Member Functions | Protected Attributes

TinyXPath::xpath_stack Class Reference

#include <xpath_stack.h>

Collaboration diagram for TinyXPath::xpath_stack:
Collaboration graph
[legend]

List of all members.

Public Member Functions

Protected Member Functions

Protected Attributes


Detailed Description

The XPath execution stack
All elements are result_and_next elements


Constructor & Destructor Documentation

TinyXPath::xpath_stack::xpath_stack (  ) 

Constructor.

References rnp_first, and u_size.

TinyXPath::xpath_stack::~xpath_stack (  ) 

Destructor.

References rnp_first, and v_pop_one().

Here is the call graph for this function:


Member Function Documentation

void TinyXPath::xpath_stack::v_push ( expression_result  er_res  ) 

Push a new element on the stack.

References rnp_first, and u_size.

Referenced by v_push_bool(), v_push_double(), v_push_int(), v_push_node_set(), and v_push_string().

Here is the caller graph for this function:

void TinyXPath::xpath_stack::v_push_int ( int  i_elem,
const char *  cp_comment = NULL 
)

Push an integer on the stack.

References v_push().

Here is the call graph for this function:

void TinyXPath::xpath_stack::v_push_bool ( bool  o_in  ) 

Push a bool on the stack.

References v_push().

Here is the call graph for this function:

void TinyXPath::xpath_stack::v_push_string ( TiXmlString  S_in  ) 

Push a string on the stack.

References v_push().

Here is the call graph for this function:

void TinyXPath::xpath_stack::v_push_double ( double  d_elem  ) 

Push a double on the stack.

References v_push().

Here is the call graph for this function:

void TinyXPath::xpath_stack::v_push_node_set ( node_set nsp_ptr  ) 

Push a node_set on the stack.

References v_push().

Here is the call graph for this function:

expression_result * TinyXPath::xpath_stack::erp_top (  ) 

Retrieve top expression from the stack.

References rnp_first.

Referenced by i_pop_int(), i_top_int(), ns_pop_node_set(), o_pop_bool(), and S_pop_string().

Here is the caller graph for this function:

int TinyXPath::xpath_stack::i_top_int (  ) 

Query the top integer.

References erp_top().

Here is the call graph for this function:

void TinyXPath::xpath_stack::v_pop ( unsigned  u_nb = 1  ) 

Pop N element from the stack.

References v_pop_one().

Referenced by i_pop_int(), ns_pop_node_set(), o_pop_bool(), and S_pop_string().

Here is the call graph for this function:

Here is the caller graph for this function:

int TinyXPath::xpath_stack::i_pop_int (  ) 

Pops the top integer from the stack.

References erp_top(), and v_pop().

Here is the call graph for this function:

TiXmlString TinyXPath::xpath_stack::S_pop_string (  ) 

Pops the top string from the stack.

References erp_top(), TIXML_STRING, and v_pop().

Here is the call graph for this function:

bool TinyXPath::xpath_stack::o_pop_bool (  ) 

Pops the top bool from the stack.

References erp_top(), and v_pop().

Here is the call graph for this function:

node_set TinyXPath::xpath_stack::ns_pop_node_set (  ) 

Pops the top node_set from the stack.

References erp_top(), and v_pop().

Here is the call graph for this function:

unsigned TinyXPath::xpath_stack::u_get_size (  )  [inline]

Return the stack's size.

References u_size.

expression_result * TinyXPath::xpath_stack::erp_previous ( unsigned  u_nb  ) 

Retrieve a previous expression from the stack.

Parameters:
u_nb Nb of items to skip.

References rnp_first, and u_size.

void TinyXPath::xpath_stack::v_pop_one (  )  [protected]

Pop one element from the stack.

References rnp_first, and u_size.

Referenced by v_pop(), and ~xpath_stack().

Here is the caller graph for this function:


Member Data Documentation

First element in the stack.

Referenced by erp_previous(), erp_top(), v_pop_one(), v_push(), xpath_stack(), and ~xpath_stack().

unsigned TinyXPath::xpath_stack::u_size [protected]

Stack size.

Referenced by erp_previous(), u_get_size(), v_pop_one(), v_push(), and xpath_stack().


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