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 >::const_iterator Struct Reference

#include <partitioned_unordered_map.h>

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

Public Types

using iterator_category = std::forward_iterator_tag
 

Public Member Functions

 const_iterator ()=default
 
 const_iterator (partition_map_type *map)
 
 const_iterator (iterator const &orig)
 
const_reference operator* () const
 
const_pointer operator-> () const
 
void inc ()
 
const_iteratoroperator++ ()
 
const_iterator operator++ (int)
 

Public Attributes

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

Friends

bool operator== (const_iterator const &lhs, const_iterator const &rhs)
 
bool operator!= (const_iterator const &lhs, const_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 >::const_iterator

Definition at line 127 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 >::const_iterator::iterator_category = std::forward_iterator_tag

Definition at line 129 of file partitioned_unordered_map.h.

Constructor & Destructor Documentation

◆ const_iterator() [1/3]

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 >::const_iterator::const_iterator ( )
default

◆ const_iterator() [2/3]

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 >::const_iterator::const_iterator ( partition_map_type map)

Definition at line 137 of file partitioned_unordered_map.h.

◆ const_iterator() [3/3]

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 >::const_iterator::const_iterator ( iterator const &  orig)

Definition at line 141 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>>>
const_reference ripple::partitioned_unordered_map< Key, Value, Hash, Pred, Alloc >::const_iterator::operator* ( ) const

Definition at line 149 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>>>
const_pointer ripple::partitioned_unordered_map< Key, Value, Hash, Pred, Alloc >::const_iterator::operator-> ( ) const

Definition at line 155 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 >::const_iterator::inc ( )

Definition at line 161 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>>>
const_iterator & ripple::partitioned_unordered_map< Key, Value, Hash, Pred, Alloc >::const_iterator::operator++ ( )

Definition at line 175 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>>>
const_iterator ripple::partitioned_unordered_map< Key, Value, Hash, Pred, Alloc >::const_iterator::operator++ ( int  )

Definition at line 183 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== ( const_iterator const &  lhs,
const_iterator const &  rhs 
)
friend

Definition at line 191 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!= ( const_iterator const &  lhs,
const_iterator const &  rhs 
)
friend

Definition at line 198 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 >::const_iterator::map_ {nullptr}

Definition at line 131 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 >::const_iterator::ait_

Definition at line 132 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 >::const_iterator::mit_

Definition at line 133 of file partitioned_unordered_map.h.