Public Types | |
typedef H1 | hasher |
Public Member Functions | |
hasher | hash_function () const |
Protected Types | |
typedef std::size_t | hash_code_t |
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 | m_hash_code (const Key &k) const |
std::size_t | bucket_index (const Key &, hash_code_t c, std::size_t N) const |
std::size_t | bucket_index (const hash_node< Value, true > *p, std::size_t N) const |
bool | compare (const Key &k, hash_code_t c, hash_node< Value, true > *n) const |
void | store_code (hash_node< Value, true > *n, hash_code_t c) const |
void | copy_code (hash_node< Value, true > *to, const hash_node< Value, true > *from) const |
void | m_swap (hash_code_base &x) |
Protected Attributes | |
ExtractKey | m_extract |
Equal | m_eq |
H1 | m_h1 |
H2 | m_h2 |
Definition at line 873 of file hashtable.
typedef std::size_t Internal::hash_code_base< Key, Value, ExtractKey, Equal, H1, H2, default_ranged_hash, true >::hash_code_t [protected] |
typedef H1 Internal::hash_code_base< Key, Value, ExtractKey, Equal, H1, H2, default_ranged_hash, true >::hasher |
Internal::hash_code_base< Key, Value, ExtractKey, Equal, H1, H2, default_ranged_hash, true >::hash_code_base | ( | const ExtractKey & | ex, | |
const Equal & | eq, | |||
const H1 & | h1, | |||
const H2 & | h2, | |||
const default_ranged_hash & | ||||
) | [inline, protected] |
std::size_t Internal::hash_code_base< Key, Value, ExtractKey, Equal, H1, H2, default_ranged_hash, true >::bucket_index | ( | const hash_node< Value, true > * | p, | |
std::size_t | N | |||
) | const [inline, protected] |
std::size_t Internal::hash_code_base< Key, Value, ExtractKey, Equal, H1, H2, default_ranged_hash, true >::bucket_index | ( | const Key & | , | |
hash_code_t | c, | |||
std::size_t | N | |||
) | const [inline, protected] |
bool Internal::hash_code_base< Key, Value, ExtractKey, Equal, H1, H2, default_ranged_hash, true >::compare | ( | const Key & | k, | |
hash_code_t | c, | |||
hash_node< Value, true > * | n | |||
) | const [inline, protected] |
void Internal::hash_code_base< Key, Value, ExtractKey, Equal, H1, H2, default_ranged_hash, true >::copy_code | ( | hash_node< Value, true > * | to, | |
const hash_node< Value, true > * | from | |||
) | const [inline, protected] |
hasher Internal::hash_code_base< Key, Value, ExtractKey, Equal, H1, H2, default_ranged_hash, true >::hash_function | ( | ) | const [inline] |
hash_code_t Internal::hash_code_base< Key, Value, ExtractKey, Equal, H1, H2, default_ranged_hash, true >::m_hash_code | ( | const Key & | k | ) | const [inline, protected] |
void Internal::hash_code_base< Key, Value, ExtractKey, Equal, H1, H2, default_ranged_hash, true >::m_swap | ( | hash_code_base< Key, Value, ExtractKey, Equal, H1, H2, default_ranged_hash, true > & | x | ) | [inline, protected] |
void Internal::hash_code_base< Key, Value, ExtractKey, Equal, H1, H2, default_ranged_hash, true >::store_code | ( | hash_node< Value, true > * | n, | |
hash_code_t | c | |||
) | const [inline, protected] |
Equal Internal::hash_code_base< Key, Value, ExtractKey, Equal, H1, H2, default_ranged_hash, true >::m_eq [protected] |
ExtractKey Internal::hash_code_base< Key, Value, ExtractKey, Equal, H1, H2, default_ranged_hash, true >::m_extract [protected] |
H1 Internal::hash_code_base< Key, Value, ExtractKey, Equal, H1, H2, default_ranged_hash, true >::m_h1 [protected] |
H2 Internal::hash_code_base< Key, Value, ExtractKey, Equal, H1, H2, default_ranged_hash, true >::m_h2 [protected] |