rippled
Loading...
Searching...
No Matches
Public Types | Public Member Functions | Public Attributes | Friends | List of all members
ripple::partitioned_unordered_map< Key, Value, Hash, Pred, Alloc >::iterator Struct Reference

#include <partitioned_unordered_map.h>

Collaboration diagram for ripple::partitioned_unordered_map< Key, Value, Hash, Pred, Alloc >::iterator:
Collaboration graph
[legend]

Public Types

using iterator_category = std::forward_iterator_tag
 

Public Member Functions

 iterator ()=default
 
 iterator (partition_map_type *map)
 
reference operator* () const
 
pointer operator-> () const
 
void inc ()
 
iteratoroperator++ ()
 
iterator operator++ (int)
 

Public Attributes

partition_map_typemap_ {nullptr}
 
partition_map_type::iterator ait_
 
map_type::iterator mit_
 

Friends

bool operator== (iterator const &lhs, iterator const &rhs)
 
bool operator!= (iterator const &lhs, iterator const &rhs)
 

Detailed Description

template<typename Key, typename Value, typename Hash, typename Pred = std::equal_to<Key>, typename Alloc = std::allocator<std::pair<Key const, Value>>>
struct ripple::partitioned_unordered_map< Key, Value, Hash, Pred, Alloc >::iterator

Definition at line 58 of file partitioned_unordered_map.h.

Member Typedef Documentation

◆ iterator_category

template<typename Key , typename Value , typename Hash , typename Pred = std::equal_to<Key>, typename Alloc = std::allocator<std::pair<Key const, Value>>>
using ripple::partitioned_unordered_map< Key, Value, Hash, Pred, Alloc >::iterator::iterator_category = std::forward_iterator_tag

Definition at line 60 of file partitioned_unordered_map.h.

Constructor & Destructor Documentation

◆ iterator() [1/2]

template<typename Key , typename Value , typename Hash , typename Pred = std::equal_to<Key>, typename Alloc = std::allocator<std::pair<Key const, Value>>>
ripple::partitioned_unordered_map< Key, Value, Hash, Pred, Alloc >::iterator::iterator ( )
default

◆ iterator() [2/2]

template<typename Key , typename Value , typename Hash , typename Pred = std::equal_to<Key>, typename Alloc = std::allocator<std::pair<Key const, Value>>>
ripple::partitioned_unordered_map< Key, Value, Hash, Pred, Alloc >::iterator::iterator ( partition_map_type map)

Definition at line 67 of file partitioned_unordered_map.h.

Member Function Documentation

◆ operator*()

template<typename Key , typename Value , typename Hash , typename Pred = std::equal_to<Key>, typename Alloc = std::allocator<std::pair<Key const, Value>>>
reference ripple::partitioned_unordered_map< Key, Value, Hash, Pred, Alloc >::iterator::operator* ( ) const

Definition at line 72 of file partitioned_unordered_map.h.

◆ operator->()

template<typename Key , typename Value , typename Hash , typename Pred = std::equal_to<Key>, typename Alloc = std::allocator<std::pair<Key const, Value>>>
pointer ripple::partitioned_unordered_map< Key, Value, Hash, Pred, Alloc >::iterator::operator-> ( ) const

Definition at line 78 of file partitioned_unordered_map.h.

◆ inc()

template<typename Key , typename Value , typename Hash , typename Pred = std::equal_to<Key>, typename Alloc = std::allocator<std::pair<Key const, Value>>>
void ripple::partitioned_unordered_map< Key, Value, Hash, Pred, Alloc >::iterator::inc ( )

Definition at line 84 of file partitioned_unordered_map.h.

◆ operator++() [1/2]

template<typename Key , typename Value , typename Hash , typename Pred = std::equal_to<Key>, typename Alloc = std::allocator<std::pair<Key const, Value>>>
iterator & ripple::partitioned_unordered_map< Key, Value, Hash, Pred, Alloc >::iterator::operator++ ( )

Definition at line 98 of file partitioned_unordered_map.h.

◆ operator++() [2/2]

template<typename Key , typename Value , typename Hash , typename Pred = std::equal_to<Key>, typename Alloc = std::allocator<std::pair<Key const, Value>>>
iterator ripple::partitioned_unordered_map< Key, Value, Hash, Pred, Alloc >::iterator::operator++ ( int  )

Definition at line 106 of file partitioned_unordered_map.h.

Friends And Related Symbol Documentation

◆ operator==

template<typename Key , typename Value , typename Hash , typename Pred = std::equal_to<Key>, typename Alloc = std::allocator<std::pair<Key const, Value>>>
bool operator== ( iterator const &  lhs,
iterator const &  rhs 
)
friend

Definition at line 114 of file partitioned_unordered_map.h.

◆ operator!=

template<typename Key , typename Value , typename Hash , typename Pred = std::equal_to<Key>, typename Alloc = std::allocator<std::pair<Key const, Value>>>
bool operator!= ( iterator const &  lhs,
iterator const &  rhs 
)
friend

Definition at line 121 of file partitioned_unordered_map.h.

Member Data Documentation

◆ map_

template<typename Key , typename Value , typename Hash , typename Pred = std::equal_to<Key>, typename Alloc = std::allocator<std::pair<Key const, Value>>>
partition_map_type* ripple::partitioned_unordered_map< Key, Value, Hash, Pred, Alloc >::iterator::map_ {nullptr}

Definition at line 61 of file partitioned_unordered_map.h.

◆ ait_

template<typename Key , typename Value , typename Hash , typename Pred = std::equal_to<Key>, typename Alloc = std::allocator<std::pair<Key const, Value>>>
partition_map_type::iterator ripple::partitioned_unordered_map< Key, Value, Hash, Pred, Alloc >::iterator::ait_

Definition at line 62 of file partitioned_unordered_map.h.

◆ mit_

template<typename Key , typename Value , typename Hash , typename Pred = std::equal_to<Key>, typename Alloc = std::allocator<std::pair<Key const, Value>>>
map_type::iterator ripple::partitioned_unordered_map< Key, Value, Hash, Pred, Alloc >::iterator::mit_

Definition at line 63 of file partitioned_unordered_map.h.