|
Sierra Toolkit
Version of the Day
|
#include <hashtable_eastl.h>
Public Types | |
| typedef H1 | hasher |
Public Member Functions | |
| H1 | hash_function () const |
| Equal | equal_function () const |
| const Equal & | key_eq () const |
| Equal & | key_eq () |
Protected Types | |
| typedef uint32_t | hash_code_t |
| typedef uint32_t | bucket_index_t |
| typedef hash_node< Value, true > | node_type |
Protected Member Functions | |
| hash_code_base (const ExtractKey &ex, const Equal &eq, const H1 &h1, const H2 &h2, const default_ranged_hash &) | |
| hash_code_t | get_hash_code (const Key &key) const |
| bucket_index_t | bucket_index (hash_code_t c, uint32_t nBucketCount) const |
| bucket_index_t | bucket_index (const Key &, hash_code_t c, uint32_t nBucketCount) const |
| bucket_index_t | bucket_index (const node_type *pNode, uint32_t nBucketCount) const |
| bool | compare (const Key &key, hash_code_t c, node_type *pNode) const |
| void | copy_code (node_type *pDest, const node_type *pSource) const |
| void | set_code (node_type *pDest, hash_code_t c) const |
| void | base_swap (hash_code_base &x) |
Protected Attributes | |
| ExtractKey | mExtractKey |
| Equal | mEqual |
| H1 | m_h1 |
| H2 | m_h2 |
hash_code_base
Specialization: hash function and range-hashing function, caching hash codes. H is provided but ignored. Provides typedef and accessor required by TR1.
Definition at line 643 of file hashtable_eastl.h.