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

Const iterator. More...

#include <hashmap.hpp>

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

Public Types

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

Public Member Functions

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

Protected Member Functions

 const_iterator (const unordered_set *iptr, hm_int iindex)
 

Protected Attributes

const unordered_setptr = nullptr
 
hm_int index = 0
 

Friends

class unordered_set
 

Detailed Description

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

Const iterator.

Definition at line 920 of file hashmap.hpp.

Member Typedef Documentation

◆ difference_type

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

Definition at line 934 of file hashmap.hpp.

◆ iterator_category

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

Definition at line 932 of file hashmap.hpp.

◆ pointer

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

Definition at line 935 of file hashmap.hpp.

◆ reference

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

Definition at line 936 of file hashmap.hpp.

◆ value_type

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

Definition at line 933 of file hashmap.hpp.

Constructor & Destructor Documentation

◆ const_iterator() [1/2]

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

Definition at line 927 of file hashmap.hpp.

◆ const_iterator() [2/2]

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

Member Function Documentation

◆ operator!=()

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

Definition at line 952 of file hashmap.hpp.

◆ operator*()

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

Definition at line 955 of file hashmap.hpp.

◆ operator++() [1/2]

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

Definition at line 941 of file hashmap.hpp.

◆ operator++() [2/2]

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

Definition at line 943 of file hashmap.hpp.

◆ operator--() [1/2]

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

Definition at line 946 of file hashmap.hpp.

◆ operator--() [2/2]

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

Definition at line 948 of file hashmap.hpp.

◆ operator->()

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

Definition at line 956 of file hashmap.hpp.

◆ operator==()

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

Definition at line 951 of file hashmap.hpp.

Friends And Related Function Documentation

◆ unordered_set

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

Definition at line 921 of file hashmap.hpp.

Member Data Documentation

◆ index

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

Definition at line 925 of file hashmap.hpp.

◆ ptr

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

Definition at line 924 of file hashmap.hpp.


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