libcuckoo  0.3.1
All Classes Files Functions Variables Typedefs Enumerations Macros Pages
Public Types | Public Member Functions | Friends | List of all members
libcuckoo::cuckoohash_map< Key, T, Hash, KeyEqual, Allocator, SLOT_PER_BUCKET >::locked_table::iterator Class Reference

#include <cuckoohash_map.hh>

Inheritance diagram for libcuckoo::cuckoohash_map< Key, T, Hash, KeyEqual, Allocator, SLOT_PER_BUCKET >::locked_table::iterator:
Inheritance graph
[legend]
Collaboration diagram for libcuckoo::cuckoohash_map< Key, T, Hash, KeyEqual, Allocator, SLOT_PER_BUCKET >::locked_table::iterator:
Collaboration graph
[legend]

Public Types

using pointer = typename cuckoohash_map::pointer
 
using reference = typename cuckoohash_map::reference
 
- Public Types inherited from libcuckoo::cuckoohash_map< Key, T, Hash, KeyEqual, Allocator, SLOT_PER_BUCKET >::locked_table::const_iterator
using difference_type = typename locked_table::difference_type
 
using value_type = typename locked_table::value_type
 
using pointer = typename locked_table::const_pointer
 
using reference = typename locked_table::const_reference
 
using iterator_category = std::bidirectional_iterator_tag
 

Public Member Functions

bool operator== (const iterator &it) const
 
bool operator!= (const iterator &it) const
 
reference operator* ()
 
pointer operator-> ()
 
iteratoroperator++ ()
 
iterator operator++ (int)
 
iteratoroperator-- ()
 
iterator operator-- (int)
 
- Public Member Functions inherited from libcuckoo::cuckoohash_map< Key, T, Hash, KeyEqual, Allocator, SLOT_PER_BUCKET >::locked_table::const_iterator
bool operator== (const const_iterator &it) const
 
bool operator!= (const const_iterator &it) const
 
reference operator* () const
 
pointer operator-> () const
 
const_iteratoroperator++ ()
 
const_iterator operator++ (int)
 
const_iteratoroperator-- ()
 
const_iterator operator-- (int)
 

Friends

class locked_table
 

Additional Inherited Members

- Protected Member Functions inherited from libcuckoo::cuckoohash_map< Key, T, Hash, KeyEqual, Allocator, SLOT_PER_BUCKET >::locked_table::const_iterator
 const_iterator (buckets_t &buckets, size_type index, size_type slot) noexcept
 
- Static Protected Member Functions inherited from libcuckoo::cuckoohash_map< Key, T, Hash, KeyEqual, Allocator, SLOT_PER_BUCKET >::locked_table::const_iterator
static std::pair< size_type, size_type > end_pos (const buckets_t &buckets)
 
- Protected Attributes inherited from libcuckoo::cuckoohash_map< Key, T, Hash, KeyEqual, Allocator, SLOT_PER_BUCKET >::locked_table::const_iterator
buckets_tbuckets_
 
size_type index_
 
size_type slot_
 

Detailed Description

template<class Key, class T, class Hash = std::hash<Key>, class KeyEqual = std::equal_to<Key>, class Allocator = std::allocator<std::pair<const Key, T>>, std::size_t SLOT_PER_BUCKET = DEFAULT_SLOT_PER_BUCKET>
class libcuckoo::cuckoohash_map< Key, T, Hash, KeyEqual, Allocator, SLOT_PER_BUCKET >::locked_table::iterator

An iterator over a locked_table, which allows read-write access to elements of the table. It fulfills the BidirectionalIterator concept.


The documentation for this class was generated from the following file: