openCARP
Doxygen code documentation for the open cardiac electrophysiology simulator openCARP
Public Types | Public Member Functions | Protected Member Functions | Protected Attributes | Friends | List of all members
hashmap::unordered_set< K, OPS >::iterator Class Reference

Default iterator. More...

#include <hashmap.hpp>

Collaboration diagram for hashmap::unordered_set< K, OPS >::iterator:

Public Types

using iterator_category = std::forward_iterator_tag
 
using value_type = K
 
using difference_type = std::ptrdiff_t
 
using pointer = value_type *
 
using reference = value_type &
 

Public Member Functions

 iterator ()=default
 
iteratoroperator++ ()
 
iterator operator++ (int)
 
iteratoroperator-- ()
 
iterator operator-- (int)
 
bool operator== (const iterator &other) const
 
bool operator!= (const iterator &other) const
 
reference operator* ()
 
pointer operator-> ()
 
const value_typeoperator* () const
 
const value_typeoperator-> () const
 
 operator const_iterator () const
 

Protected Member Functions

 iterator (unordered_set *iptr, hm_int iindex)
 

Protected Attributes

unordered_setptr = nullptr
 
hm_int index = 0
 

Friends

class unordered_set
 

Detailed Description

template<typename K, typename OPS>
class hashmap::unordered_set< K, OPS >::iterator

Default iterator.

Definition at line 960 of file hashmap.hpp.

Member Typedef Documentation

◆ difference_type

template<typename K , typename OPS >
using hashmap::unordered_set< K, OPS >::iterator::difference_type = std::ptrdiff_t

Definition at line 974 of file hashmap.hpp.

◆ iterator_category

template<typename K , typename OPS >
using hashmap::unordered_set< K, OPS >::iterator::iterator_category = std::forward_iterator_tag

Definition at line 972 of file hashmap.hpp.

◆ pointer

template<typename K , typename OPS >
using hashmap::unordered_set< K, OPS >::iterator::pointer = value_type*

Definition at line 975 of file hashmap.hpp.

◆ reference

template<typename K , typename OPS >
using hashmap::unordered_set< K, OPS >::iterator::reference = value_type&

Definition at line 976 of file hashmap.hpp.

◆ value_type

template<typename K , typename OPS >
using hashmap::unordered_set< K, OPS >::iterator::value_type = K

Definition at line 973 of file hashmap.hpp.

Constructor & Destructor Documentation

◆ iterator() [1/2]

template<typename K , typename OPS >
hashmap::unordered_set< K, OPS >::iterator::iterator ( unordered_set iptr,
hm_int  iindex 
)
inlineprotected

Definition at line 967 of file hashmap.hpp.

◆ iterator() [2/2]

template<typename K , typename OPS >
hashmap::unordered_set< K, OPS >::iterator::iterator ( )
default

Member Function Documentation

◆ operator const_iterator()

template<typename K , typename OPS >
hashmap::unordered_set< K, OPS >::iterator::operator const_iterator ( ) const
inline

Definition at line 1003 of file hashmap.hpp.

◆ operator!=()

template<typename K , typename OPS >
bool hashmap::unordered_set< K, OPS >::iterator::operator!= ( const iterator other) const
inline

Definition at line 992 of file hashmap.hpp.

◆ operator*() [1/2]

template<typename K , typename OPS >
reference hashmap::unordered_set< K, OPS >::iterator::operator* ( )
inline

Definition at line 995 of file hashmap.hpp.

◆ operator*() [2/2]

template<typename K , typename OPS >
const value_type& hashmap::unordered_set< K, OPS >::iterator::operator* ( ) const
inline

Definition at line 999 of file hashmap.hpp.

◆ operator++() [1/2]

template<typename K , typename OPS >
iterator& hashmap::unordered_set< K, OPS >::iterator::operator++ ( )
inline

Definition at line 981 of file hashmap.hpp.

◆ operator++() [2/2]

template<typename K , typename OPS >
iterator hashmap::unordered_set< K, OPS >::iterator::operator++ ( int  )
inline

Definition at line 983 of file hashmap.hpp.

◆ operator--() [1/2]

template<typename K , typename OPS >
iterator& hashmap::unordered_set< K, OPS >::iterator::operator-- ( )
inline

Definition at line 986 of file hashmap.hpp.

◆ operator--() [2/2]

template<typename K , typename OPS >
iterator hashmap::unordered_set< K, OPS >::iterator::operator-- ( int  )
inline

Definition at line 988 of file hashmap.hpp.

◆ operator->() [1/2]

template<typename K , typename OPS >
pointer hashmap::unordered_set< K, OPS >::iterator::operator-> ( )
inline

Definition at line 996 of file hashmap.hpp.

◆ operator->() [2/2]

template<typename K , typename OPS >
const value_type* hashmap::unordered_set< K, OPS >::iterator::operator-> ( ) const
inline

Definition at line 1000 of file hashmap.hpp.

◆ operator==()

template<typename K , typename OPS >
bool hashmap::unordered_set< K, OPS >::iterator::operator== ( const iterator other) const
inline

Definition at line 991 of file hashmap.hpp.

Friends And Related Function Documentation

◆ unordered_set

template<typename K , typename OPS >
friend class unordered_set
friend

Definition at line 961 of file hashmap.hpp.

Member Data Documentation

◆ index

template<typename K , typename OPS >
hm_int hashmap::unordered_set< K, OPS >::iterator::index = 0
protected

Definition at line 965 of file hashmap.hpp.

◆ ptr

template<typename K , typename OPS >
unordered_set* hashmap::unordered_set< K, OPS >::iterator::ptr = nullptr
protected

Definition at line 964 of file hashmap.hpp.


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