ddc
|
#include <action_store.h>
Public Member Functions | |
action_store () | |
constructor More... | |
~ action_store () | |
void | v_add (int i_1, int i_2, int i_3, const char *cp_string) |
add an element on the placeholder, given its details More... | |
int | i_get_size () |
Get the current nb of stored elements. More... | |
void | v_get (int i_position, int &i_1, int &i_2, int &i_3, TiXmlString &S_out) |
Get one element from the placeholder. More... | |
int | i_get_position () |
Get the current position. See i_position. More... | |
void | v_set_position (int i_where) |
Set the position to an arbitrary value. See i_position. More... | |
void | v_dec_position () |
Decrement the position. See i_position. More... | |
Protected Attributes | |
int | i_size |
Used number of elements. More... | |
int | i_position |
int | i_alloc |
Nb of allocated elements. More... | |
action_item ** | aipp_list |
Pointers to the allocated elements. More... | |
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, i_size, and ~ action_store().
TinyXPath::action_store::~ action_store | ( | ) |
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.
|
inline |
Get the current nb of stored elements.
References TIXML_STRING, and TinyXPath::action_item::v_get().
void TinyXPath::action_store::v_get | ( | int | i_position, |
int & | i_1, | ||
int & | i_2, | ||
int & | i_3, | ||
TiXmlString & | S_out | ||
) |
|
inline |
Get the current position. See i_position.
|
inline |
Set the position to an arbitrary value. See i_position.
|
inline |
Decrement the position. See i_position.
|
protected |
Used number of elements.
Referenced by action_store(), v_add(), and v_get().
|
protected |
This value is informative and is not related to the nb of elements in the placeholder
Referenced by action_store().
|
protected |
Nb of allocated elements.
Referenced by action_store(), and v_add().
|
protected |
Pointers to the allocated elements.
Referenced by action_store(), v_add(), and v_get().