![]() |
mutable
A Database System for Research and Fast Prototyping
|
Public Types | |
using | map_type = std::conditional_t< Is_Const, const RefCountingHashMap, RefCountingHashMap > |
using | bucket_type = std::conditional_t< Is_Const, const typename map_type::entry_type, typename map_type::entry_type > |
using | pointer = std::conditional_t< Is_Const, const typename map_type::const_pointer, typename map_type::pointer > |
using | reference = std::conditional_t< Is_Const, const typename map_type::const_reference, typename map_type::reference > |
using | size_type = typename map_type::size_type |
Public Member Functions | |
the_bucket_iterator (map_type &map, size_type bucket_index) | |
bool | has_next () const |
the_bucket_iterator & | operator++ () |
the_bucket_iterator & | operator++ (int) |
reference | operator* () const |
pointer | operator-> () const |
size_type | probe_length () const |
size_type | probe_distance () const |
size_type | current_index () const |
size_type | bucket_index () const |
Static Public Attributes | |
static constexpr bool | Is_Const = C |
Private Member Functions | |
bucket_type * | bucket () const |
Private Attributes | |
map_type & | map_ |
size_type | bucket_index_ |
size_type | step_ = 0 |
size_type | max_step_ |
Friends | |
struct | RefCountingHashMap |
Definition at line 94 of file RefCountingHashMap.hpp.
using m::RefCountingHashMap< Key, Value, Hash, KeyEqual >::the_bucket_iterator< C >::bucket_type = std::conditional_t<Is_Const, const typename map_type::entry_type, typename map_type::entry_type> |
Definition at line 101 of file RefCountingHashMap.hpp.
using m::RefCountingHashMap< Key, Value, Hash, KeyEqual >::the_bucket_iterator< C >::map_type = std::conditional_t<Is_Const, const RefCountingHashMap, RefCountingHashMap> |
Definition at line 100 of file RefCountingHashMap.hpp.
using m::RefCountingHashMap< Key, Value, Hash, KeyEqual >::the_bucket_iterator< C >::pointer = std::conditional_t<Is_Const, const typename map_type::const_pointer, typename map_type::pointer> |
Definition at line 102 of file RefCountingHashMap.hpp.
using m::RefCountingHashMap< Key, Value, Hash, KeyEqual >::the_bucket_iterator< C >::reference = std::conditional_t<Is_Const, const typename map_type::const_reference, typename map_type::reference> |
Definition at line 103 of file RefCountingHashMap.hpp.
using m::RefCountingHashMap< Key, Value, Hash, KeyEqual >::the_bucket_iterator< C >::size_type = typename map_type::size_type |
Definition at line 104 of file RefCountingHashMap.hpp.
|
inline |
|
inlineprivate |
Definition at line 143 of file RefCountingHashMap.hpp.
References m::RefCountingHashMap< Key, Value, Hash, KeyEqual >::the_bucket_iterator< C >::current_index(), and m::RefCountingHashMap< Key, Value, Hash, KeyEqual >::the_bucket_iterator< C >::map_.
Referenced by m::RefCountingHashMap< Key, Value, Hash, KeyEqual >::the_bucket_iterator< C >::the_bucket_iterator().
|
inline |
Definition at line 140 of file RefCountingHashMap.hpp.
References m::RefCountingHashMap< Key, Value, Hash, KeyEqual >::the_bucket_iterator< C >::current_index(), m::RefCountingHashMap< Key, Value, Hash, KeyEqual >::the_bucket_iterator< C >::map_, and m::RefCountingHashMap< Key, Value, Hash, KeyEqual >::the_bucket_iterator< C >::probe_distance().
|
inline |
Definition at line 139 of file RefCountingHashMap.hpp.
References m::RefCountingHashMap< Key, Value, Hash, KeyEqual >::the_bucket_iterator< C >::bucket_index_.
Referenced by m::RefCountingHashMap< Key, Value, Hash, KeyEqual >::the_bucket_iterator< C >::bucket(), and m::RefCountingHashMap< Key, Value, Hash, KeyEqual >::the_bucket_iterator< C >::bucket_index().
|
inline |
Definition at line 120 of file RefCountingHashMap.hpp.
References m::RefCountingHashMap< Key, Value, Hash, KeyEqual >::the_bucket_iterator< C >::max_step_, and m::RefCountingHashMap< Key, Value, Hash, KeyEqual >::the_bucket_iterator< C >::step_.
Referenced by m::RefCountingHashMap< Key, Value, Hash, KeyEqual >::for_all().
|
inline |
|
inline |
Definition at line 122 of file RefCountingHashMap.hpp.
References m::RefCountingHashMap< Key, Value, Hash, KeyEqual >::the_bucket_iterator< C >::bucket_index_, m::RefCountingHashMap< Key, Value, Hash, KeyEqual >::the_bucket_iterator< C >::map_, and m::RefCountingHashMap< Key, Value, Hash, KeyEqual >::the_bucket_iterator< C >::step_.
Referenced by m::RefCountingHashMap< Key, Value, Hash, KeyEqual >::the_bucket_iterator< C >::operator++().
|
inline |
Definition at line 128 of file RefCountingHashMap.hpp.
References m::RefCountingHashMap< Key, Value, Hash, KeyEqual >::the_bucket_iterator< C >::operator++().
|
inline |
|
inline |
Definition at line 138 of file RefCountingHashMap.hpp.
References m::RefCountingHashMap< Key, Value, Hash, KeyEqual >::the_bucket_iterator< C >::step_.
Referenced by m::RefCountingHashMap< Key, Value, Hash, KeyEqual >::the_bucket_iterator< C >::bucket_index().
|
inline |
Definition at line 137 of file RefCountingHashMap.hpp.
References m::RefCountingHashMap< Key, Value, Hash, KeyEqual >::the_bucket_iterator< C >::step_.
Referenced by m::RefCountingHashMap< Key, Value, Hash, KeyEqual >::find(), m::RefCountingHashMap< Key, Value, Hash, KeyEqual >::insert_with_duplicates(), and m::RefCountingHashMap< Key, Value, Hash, KeyEqual >::insert_without_duplicates().
|
friend |
Definition at line 96 of file RefCountingHashMap.hpp.
|
private |
Definition at line 108 of file RefCountingHashMap.hpp.
Referenced by m::RefCountingHashMap< Key, Value, Hash, KeyEqual >::the_bucket_iterator< C >::current_index(), m::RefCountingHashMap< Key, Value, Hash, KeyEqual >::the_bucket_iterator< C >::operator*(), m::RefCountingHashMap< Key, Value, Hash, KeyEqual >::the_bucket_iterator< C >::operator++(), and m::RefCountingHashMap< Key, Value, Hash, KeyEqual >::the_bucket_iterator< C >::operator->().
|
staticconstexpr |
Definition at line 98 of file RefCountingHashMap.hpp.
|
private |
Definition at line 107 of file RefCountingHashMap.hpp.
Referenced by m::RefCountingHashMap< Key, Value, Hash, KeyEqual >::the_bucket_iterator< C >::bucket(), m::RefCountingHashMap< Key, Value, Hash, KeyEqual >::the_bucket_iterator< C >::bucket_index(), m::RefCountingHashMap< Key, Value, Hash, KeyEqual >::the_bucket_iterator< C >::operator*(), m::RefCountingHashMap< Key, Value, Hash, KeyEqual >::the_bucket_iterator< C >::operator++(), and m::RefCountingHashMap< Key, Value, Hash, KeyEqual >::the_bucket_iterator< C >::operator->().
|
private |
|
private |
Definition at line 109 of file RefCountingHashMap.hpp.
Referenced by m::RefCountingHashMap< Key, Value, Hash, KeyEqual >::the_bucket_iterator< C >::has_next(), m::RefCountingHashMap< Key, Value, Hash, KeyEqual >::the_bucket_iterator< C >::operator++(), m::RefCountingHashMap< Key, Value, Hash, KeyEqual >::the_bucket_iterator< C >::probe_distance(), and m::RefCountingHashMap< Key, Value, Hash, KeyEqual >::the_bucket_iterator< C >::probe_length().