#include <action_store.h>
The XPath action stack. Not a stack per se, only a placeholder
It's able to store quadruplets (3 integers and a string)
It allocates them by set of 100
TinyXPath::action_store::action_store | ( | ) |
constructor
References aipp_list, i_alloc, i_position, and i_size.
void TinyXPath::action_store::v_add | ( | int | i_1, | |
int | i_2, | |||
int | i_3, | |||
const char * | cp_string | |||
) |
add an element on the placeholder, given its details
References aipp_list, i_alloc, TinyXPath::i_alloc_size, and i_size.
int TinyXPath::action_store::i_get_size | ( | ) | [inline] |
Get the current nb of stored elements.
References i_size.
void TinyXPath::action_store::v_get | ( | int | i_position, | |
int & | i_1, | |||
int & | i_2, | |||
int & | i_3, | |||
TiXmlString & | S_out | |||
) |
int TinyXPath::action_store::i_get_position | ( | ) | [inline] |
Get the current position. See i_position.
References i_position.
void TinyXPath::action_store::v_set_position | ( | int | i_where | ) | [inline] |
Set the position to an arbitrary value. See i_position.
References i_position.
void TinyXPath::action_store::v_dec_position | ( | ) | [inline] |
Decrement the position. See i_position.
References i_position.
int TinyXPath::action_store::i_size [protected] |
Used number of elements.
Referenced by action_store(), i_get_size(), v_add(), v_get(), and ~action_store().
int TinyXPath::action_store::i_position [protected] |
This value is informative and is not related to the nb of elements in the placeholder
Referenced by action_store(), i_get_position(), v_dec_position(), and v_set_position().
int TinyXPath::action_store::i_alloc [protected] |
Nb of allocated elements.
Referenced by action_store(), and v_add().
action_item** TinyXPath::action_store::aipp_list [protected] |
Pointers to the allocated elements.
Referenced by action_store(), v_add(), v_get(), and ~action_store().