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

Default iterator. More...

#include <hashmap.hpp>

Inheritance diagram for hashmap::unordered_map< K, T, OPS >::iterator:
Collaboration diagram for hashmap::unordered_map< K, T, OPS >::iterator:

Public Member Functions

 iterator ()
 
iteratoroperator++ ()
 
iterator operator++ (int)
 
iteratoroperator-- ()
 
iterator operator-- (int)
 
bool operator< (const iterator &other) const
 
bool operator== (const iterator &other) const
 
bool operator!= (const iterator &other) const
 
std::pair< K, T > & operator* ()
 
std::pair< K, T > * operator-> ()
 
const std::pair< K, T > & operator* () const
 
const std::pair< K, T > * operator-> () const
 
 operator const_iterator () const
 

Protected Member Functions

 iterator (unordered_map *iptr, hm_int iindex)
 

Protected Attributes

unordered_mapptr
 
hm_int index
 

Friends

class unordered_map
 

Detailed Description

template<typename K, typename T, typename OPS>
class hashmap::unordered_map< K, T, OPS >::iterator

Default iterator.

Definition at line 473 of file hashmap.hpp.

Constructor & Destructor Documentation

◆ iterator() [1/2]

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

Definition at line 479 of file hashmap.hpp.

◆ iterator() [2/2]

template<typename K, typename T, typename OPS>
hashmap::unordered_map< K, T, OPS >::iterator::iterator ( )
inline

Definition at line 481 of file hashmap.hpp.

Member Function Documentation

◆ operator const_iterator()

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

Definition at line 493 of file hashmap.hpp.

◆ operator!=()

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

Definition at line 488 of file hashmap.hpp.

◆ operator*() [1/2]

template<typename K, typename T, typename OPS>
std::pair<K, T>& hashmap::unordered_map< K, T, OPS >::iterator::operator* ( )
inline

Definition at line 489 of file hashmap.hpp.

◆ operator*() [2/2]

template<typename K, typename T, typename OPS>
const std::pair<K, T>& hashmap::unordered_map< K, T, OPS >::iterator::operator* ( ) const
inline

Definition at line 491 of file hashmap.hpp.

◆ operator++() [1/2]

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

Definition at line 482 of file hashmap.hpp.

◆ operator++() [2/2]

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

Definition at line 483 of file hashmap.hpp.

◆ operator--() [1/2]

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

Definition at line 484 of file hashmap.hpp.

◆ operator--() [2/2]

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

Definition at line 485 of file hashmap.hpp.

◆ operator->() [1/2]

template<typename K, typename T, typename OPS>
std::pair<K, T>* hashmap::unordered_map< K, T, OPS >::iterator::operator-> ( )
inline

Definition at line 490 of file hashmap.hpp.

◆ operator->() [2/2]

template<typename K, typename T, typename OPS>
const std::pair<K, T>* hashmap::unordered_map< K, T, OPS >::iterator::operator-> ( ) const
inline

Definition at line 492 of file hashmap.hpp.

◆ operator<()

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

Definition at line 486 of file hashmap.hpp.

◆ operator==()

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

Definition at line 487 of file hashmap.hpp.

Friends And Related Function Documentation

◆ unordered_map

template<typename K, typename T, typename OPS>
friend class unordered_map
friend

Definition at line 475 of file hashmap.hpp.

Member Data Documentation

◆ index

template<typename K, typename T, typename OPS>
hm_int hashmap::unordered_map< K, T, OPS >::iterator::index
protected

Definition at line 478 of file hashmap.hpp.

◆ ptr

template<typename K, typename T, typename OPS>
unordered_map* hashmap::unordered_map< K, T, OPS >::iterator::ptr
protected

Definition at line 477 of file hashmap.hpp.


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