Main Page | Modules | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members | Related Pages
hash.h File Reference
A generic hash table. More...
#include "csextern.h"
#include "array.h"
Go to the source code of this file.
Classes | |
class | csIntegralHashKeyHandler< T > |
A hash key handler for integral types and types that can be casted to such. More... | |
class | csHash< T, K, KeyHandler > |
A generic hash table class, which grows dynamically and whose buckets are unsorted arrays. More... | |
class | csHash< T, K, KeyHandler >::Iterator |
An iterator class for the hash. More... | |
class | csHash< T, K, KeyHandler >::GlobalIterator |
An iterator class for the hash. More... | |
class | csSet< T, KeyHandler > |
This class implements a basic set for objects. More... | |
class | csSet< T, KeyHandler >::Iterator |
An iterator class for the set. More... | |
class | csSet< T, KeyHandler >::GlobalIterator |
An iterator class for the set. More... | |
Functions | |
unsigned int | csHashCompute (char const *) |
Compute a hash key for a null-terminated string. | |
unsigned int | csHashCompute (char const *, size_t length) |
Compute a hash key for a string of a given length. |
Detailed Description
A generic hash table.
Definition in file hash.h.
Function Documentation
|
Compute a hash key for a string of a given length. Note that these keys are non-unique; some dissimilar strings may generate the same key. For unique keys, see csStringSet. |
|
Compute a hash key for a null-terminated string. Note that these keys are non-unique; some dissimilar strings may generate the same key. For unique keys, see csStringSet. |
Generated for Crystal Space by doxygen 1.3.9.1