Main Page | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

TinyXPath::action_store Class Reference

The XPath action stack. More...

#include <action_store.h>

Collaboration diagram for TinyXPath::action_store:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 action_store ()
 constructor

 ~action_store ()
 destructor

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

int i_get_size ()
 Get the current nb of stored elements.

void v_get (int i_position, int &i_1, int &i_2, int &i_3, TIXML_STRING &S_out)
 Get one element from the placeholder.

int i_get_position ()
 Get the current position. See i_position.

void v_set_position (int i_where)
 Set the position to an arbitrary value. See i_position.

void v_dec_position ()
 Decrement the position. See i_position.


Protected Attributes

int i_size
 Used number of elements.

int i_position
 This value is informative and is not related to the nb of elements in the placeholder.

int i_alloc
 Nb of allocated elements.

action_item ** aipp_list
 Pointers to the allocated elements.


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

TinyXPath::action_store::~action_store  ) 
 

destructor


Member Function Documentation

int TinyXPath::action_store::i_get_position  )  [inline]
 

Get the current position. See i_position.

int TinyXPath::action_store::i_get_size  )  [inline]
 

Get the current nb of stored elements.

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

void TinyXPath::action_store::v_dec_position  )  [inline]
 

Decrement the position. See i_position.

void TinyXPath::action_store::v_get int  i_position,
int &  i_1,
int &  i_2,
int &  i_3,
TIXML_STRING &  S_out
 

Get one element from the placeholder.

void TinyXPath::action_store::v_set_position int  i_where  )  [inline]
 

Set the position to an arbitrary value. See i_position.


Member Data Documentation

action_item** TinyXPath::action_store::aipp_list [protected]
 

Pointers to the allocated elements.

int TinyXPath::action_store::i_alloc [protected]
 

Nb of allocated elements.

int TinyXPath::action_store::i_position [protected]
 

This value is informative and is not related to the nb of elements in the placeholder.

int TinyXPath::action_store::i_size [protected]
 

Used number of elements.


The documentation for this class was generated from the following files:
Generated for TinyXPath by doxygen SourceForge Logo