Public Member Functions | Protected Attributes

TinyXPath::action_store Class Reference

#include <action_store.h>

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

List of all members.

Public Member Functions

Protected Attributes


Detailed Description

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


Constructor & Destructor Documentation

TinyXPath::action_store::action_store (  ) 

constructor

References aipp_list, i_alloc, i_position, and i_size.

TinyXPath::action_store::~action_store (  ) 

destructor

References aipp_list, and i_size.


Member Function Documentation

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 
)

Get one element from the placeholder.

References aipp_list, and i_size.

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.


Member Data Documentation

Used number of elements.

Referenced by action_store(), i_get_size(), v_add(), v_get(), and ~action_store().

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().

Nb of allocated elements.

Referenced by action_store(), and v_add().

Pointers to the allocated elements.

Referenced by action_store(), v_add(), v_get(), and ~action_store().


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