Collaboration diagram for Hash Table:
|
Files | |
| file | psHash.h |
| Contains support for basic hashing functions. | |
Data Structures | |
| struct | psHashBucket |
| A bucket that holds an item of data. More... | |
| struct | psHash |
| The hash-table itself. More... | |
Typedefs | |
| typedef psHashBucket | psHashBucket |
| A bucket that holds an item of data. | |
| typedef psHash | psHash |
| The hash-table itself. | |
Functions | |
| psHash * | psHashAlloc (psS32 nbucket) |
| Allocate hash buckets in table. | |
| psBool | psHashAdd (psHash *table, const char *key, psPtr data) |
| Insert entry into table. | |
| psPtr | psHashLookup (psHash *table, const char *key) |
| Lookup key in table. | |
| psBool | psHashRemove (psHash *table, const char *key) |
| Remove key from table. | |
| psList * | psHashKeyList (psHash *table) |
| List all keys in table. | |
| psArray * | psHashToArray (psHash *table) |
| Create a psArray from a psHash contents. | |
|
|
The hash-table itself.
|
|
|
A bucket that holds an item of data.
|
|
||||||||||||||||
|
Insert entry into table.
|
|
|
Allocate hash buckets in table.
|
|
|
List all keys in table.
|
|
||||||||||||
|
Lookup key in table.
|
|
||||||||||||
|
Remove key from table.
|
|
|
Create a psArray from a psHash contents.
|
1.4.1