AGX Dynamics 2.38.0.0
|
A cache-friendly hash set with open addressing, linear probing and power-of-two capacity. More...
#include <LinearProbingHashSet.h>
Classes | |
class | const_iterator |
class | iterator |
Public Types | |
using | const_reference = const KeyT & |
using | reference = KeyT & |
using | size_type = size_t |
using | value_type = KeyT |
Protected Member Functions | |
void | erase_bucket (size_t bucket) |
template<typename T2 > | |
size_t | find_filled_bucket (const T2 &key) const |
A cache-friendly hash set with open addressing, linear probing and power-of-two capacity.
Definition at line 43 of file LinearProbingHashSet.h.
using agx::LinearProbingHashSetImplementation< KeyT, HashT >::const_reference = const KeyT& |
Definition at line 58 of file LinearProbingHashSet.h.
using agx::LinearProbingHashSetImplementation< KeyT, HashT >::reference = KeyT& |
Definition at line 57 of file LinearProbingHashSet.h.
using agx::LinearProbingHashSetImplementation< KeyT, HashT >::size_type = size_t |
Definition at line 55 of file LinearProbingHashSet.h.
using agx::LinearProbingHashSetImplementation< KeyT, HashT >::value_type = KeyT |
Definition at line 56 of file LinearProbingHashSet.h.
|
default |
|
inline |
|
inline |
Definition at line 210 of file LinearProbingHashSet.h.
|
inline |
Definition at line 233 of file LinearProbingHashSet.h.
|
inline |
Definition at line 257 of file LinearProbingHashSet.h.
Referenced by agx::begin(), agx::cbegin(), and agx::LinearProbingHashSetImplementation< KeyT, HashT >::insert().
|
inline |
Definition at line 266 of file LinearProbingHashSet.h.
|
inline |
Definition at line 415 of file LinearProbingHashSet.h.
References agx::LinearProbingHashSetImplementation< KeyT, HashT >::empty().
Referenced by agx::LinearProbingHashSetImplementation< KeyT, HashT >::operator=().
|
inline |
Definition at line 311 of file LinearProbingHashSet.h.
References agx::LinearProbingHashSetImplementation< KeyT, HashT >::find_filled_bucket().
Referenced by agx::LinearProbingHashSetImplementation< KeyT, HashT >::insert_unique().
|
inline |
Definition at line 316 of file LinearProbingHashSet.h.
References agx::LinearProbingHashSetImplementation< KeyT, HashT >::find_filled_bucket().
|
inline |
Definition at line 366 of file LinearProbingHashSet.h.
References agx::LinearProbingHashSetImplementation< KeyT, HashT >::insert().
|
inline |
Definition at line 286 of file LinearProbingHashSet.h.
Referenced by agx::LinearProbingHashSetImplementation< KeyT, HashT >::clear(), and agx::LinearProbingHashSetImplementation< KeyT, HashT >::find_filled_bucket().
|
inline |
|
inline |
Definition at line 278 of file LinearProbingHashSet.h.
|
inline |
Definition at line 393 of file LinearProbingHashSet.h.
References agx::LinearProbingHashSetImplementation< KeyT, HashT >::erase_bucket(), and agx::LinearProbingHashSetImplementation< KeyT, HashT >::find_filled_bucket().
|
inline |
|
inlineprotected |
Definition at line 505 of file LinearProbingHashSet.h.
Referenced by agx::LinearProbingHashSetImplementation< KeyT, HashT >::erase(), and agx::LinearProbingHashSet< agx::ref_ptr< KeyT >, HashT >::erase().
|
inline |
Definition at line 293 of file LinearProbingHashSet.h.
References agx::LinearProbingHashSetImplementation< KeyT, HashT >::end(), and agx::LinearProbingHashSetImplementation< KeyT, HashT >::find_filled_bucket().
|
inline |
Definition at line 302 of file LinearProbingHashSet.h.
References agx::LinearProbingHashSetImplementation< KeyT, HashT >::end(), and agx::LinearProbingHashSetImplementation< KeyT, HashT >::find_filled_bucket().
|
inlineprotected |
Definition at line 488 of file LinearProbingHashSet.h.
References agx::LinearProbingHashSetImplementation< KeyT, HashT >::empty(), and agx::hashKeyEqual().
Referenced by agx::LinearProbingHashSetImplementation< KeyT, HashT >::contains(), agx::LinearProbingHashSet< agx::ref_ptr< KeyT >, HashT >::contains(), agx::LinearProbingHashSetImplementation< KeyT, HashT >::count(), agx::LinearProbingHashSetImplementation< KeyT, HashT >::erase(), agx::LinearProbingHashSet< agx::ref_ptr< KeyT >, HashT >::erase(), agx::LinearProbingHashSetImplementation< KeyT, HashT >::find(), and agx::LinearProbingHashSet< agx::ref_ptr< KeyT >, HashT >::find().
|
inline |
Definition at line 327 of file LinearProbingHashSet.h.
Referenced by agx::LinearProbingHashSetImplementation< KeyT, HashT >::LinearProbingHashSetImplementation(), agx::LinearProbingHashSetImplementation< KeyT, HashT >::emplace(), agx::LinearProbingHashSetImplementation< KeyT, HashT >::insert(), and agx::LinearProbingHashSetImplementation< KeyT, HashT >::operator=().
|
inline |
|
inline |
Definition at line 348 of file LinearProbingHashSet.h.
|
inline |
Definition at line 379 of file LinearProbingHashSet.h.
References agxAssert, and agx::LinearProbingHashSetImplementation< KeyT, HashT >::contains().
|
inline |
Definition at line 215 of file LinearProbingHashSet.h.
References agx::cbegin(), agx::cend(), agx::LinearProbingHashSetImplementation< KeyT, HashT >::clear(), agx::LinearProbingHashSetImplementation< KeyT, HashT >::insert(), agx::LinearProbingHashSetImplementation< KeyT, HashT >::reserve(), and agx::LinearProbingHashSetImplementation< KeyT, HashT >::size().
|
inline |
Definition at line 227 of file LinearProbingHashSet.h.
References agx::LinearProbingHashSetImplementation< KeyT, HashT >::swap().
|
inline |
Definition at line 431 of file LinearProbingHashSet.h.
References agxAssert.
Referenced by agx::LinearProbingHashSetImplementation< KeyT, HashT >::LinearProbingHashSetImplementation(), and agx::LinearProbingHashSetImplementation< KeyT, HashT >::operator=().
|
inline |
Definition at line 281 of file LinearProbingHashSet.h.
Referenced by agx::LinearProbingHashSetImplementation< KeyT, HashT >::LinearProbingHashSetImplementation(), and agx::LinearProbingHashSetImplementation< KeyT, HashT >::operator=().
|
inline |
Definition at line 244 of file LinearProbingHashSet.h.
References std::swap().
Referenced by agx::LinearProbingHashSetImplementation< KeyT, HashT >::operator=().