stringpool Struct Reference

An easy way to menage a pool of strings. More...

#include <sppool.h>

Data Fields

string strings [MAX_DIM_STRING_POOL]
 A string array.
uint used_counter
 Just an uint counter that count how many strings really exists into the array.
uint positions [MAX_DIM_STRING_POOL]
 Any array element may be UNUSED_SLOT or USED_SLOT .

Detailed Description

An easy way to menage a pool of strings.


Field Documentation

uint positions[MAX_DIM_STRING_POOL]

Any array element may be UNUSED_SLOT or USED_SLOT .

That is used to easly understand if position i of the strings array is used or not; for that reason the array size is MAX_DIM_STRING_POOL

string strings[MAX_DIM_STRING_POOL]

A string array.

The size is MAX_DIM_STRING_POOL

Just an uint counter that count how many strings really exists into the array.


The documentation for this struct was generated from the following file:
 All Data Structures Files Functions Variables Typedefs Defines
Generated on Thu Jun 10 16:35:58 2010 for libstringpool by  doxygen 1.6.3