rippled
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
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<const Key, Value>>>
struct ripple::partitioned_unordered_map< Key, Value, Hash, Pred, Alloc >::const_iterator

Definition at line 133 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<const Key, Value>>>
using ripple::partitioned_unordered_map< Key, Value, Hash, Pred, Alloc >::const_iterator::iterator_category = std::forward_iterator_tag

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

Definition at line 143 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<const Key, Value>>>
ripple::partitioned_unordered_map< Key, Value, Hash, Pred, Alloc >::const_iterator::const_iterator ( iterator const &  orig)

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

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

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

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

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

Definition at line 189 of file partitioned_unordered_map.h.

Friends And Related Function Documentation

◆ operator==

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

Definition at line 197 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<const Key, Value>>>
bool operator!= ( const_iterator const &  lhs,
const_iterator const &  rhs 
)
friend

Definition at line 204 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<const Key, Value>>>
partition_map_type* ripple::partitioned_unordered_map< Key, Value, Hash, Pred, Alloc >::const_iterator::map_ {nullptr}

Definition at line 137 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<const Key, Value>>>
partition_map_type::iterator ripple::partitioned_unordered_map< Key, Value, Hash, Pred, Alloc >::const_iterator::ait_

Definition at line 138 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<const Key, Value>>>
map_type::iterator ripple::partitioned_unordered_map< Key, Value, Hash, Pred, Alloc >::const_iterator::mit_

Definition at line 139 of file partitioned_unordered_map.h.