SPRAAK
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Groups Pages
Data Fields
SprStrHashTbl Struct Reference
+ Collaboration diagram for SprStrHashTbl:

Data Fields

unsigned int size
 size of the hash tabel More...
 
unsigned int fill_size
 nr. of elements filled in the hash list More...
 
unsigned int prefix_len
 
SprStrHashEl ** tbl
 hash table entries More...
 
SprStrHashEllist
 ordered array of hash elements More...
 
_FuncPtr1_STR_HASH_ hash_func
 
_FuncPtr2_STR_HASH_ cmp_func
 
SprStrHashElfree_list
 list of free elements More...
 

Field Documentation

unsigned int SprStrHashTbl::size

size of the hash tabel

unsigned int SprStrHashTbl::fill_size

nr. of elements filled in the hash list

unsigned int SprStrHashTbl::prefix_len

the elements in the hash table can be complete structures, but the 'str' pointer must point to the hash-key, hence this offset

SprStrHashEl** SprStrHashTbl::tbl

hash table entries

SprStrHashEl* SprStrHashTbl::list

ordered array of hash elements

_FuncPtr1_STR_HASH_ SprStrHashTbl::hash_func
_FuncPtr2_STR_HASH_ SprStrHashTbl::cmp_func
SprStrHashEl* SprStrHashTbl::free_list

list of free elements