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

Const iterator. More...

#include <hashmap.hpp>

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

Public Member Functions

 const_iterator ()
 
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
 
bool operator!= (const const_iterator &other) const
 
const std::pair< K, T > & operator* () const
 
const std::pair< K, T > * operator-> () const
 

Protected Member Functions

 const_iterator (const unordered_map *iptr, hm_int iindex)
 

Protected Attributes

const 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 >::const_iterator

Const iterator.

Definition at line 452 of file hashmap.hpp.

Constructor & Destructor Documentation

◆ const_iterator() [1/2]

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

Definition at line 458 of file hashmap.hpp.

◆ const_iterator() [2/2]

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

Definition at line 460 of file hashmap.hpp.

Member Function Documentation

◆ operator!=()

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

Definition at line 467 of file hashmap.hpp.

◆ operator*()

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

Definition at line 468 of file hashmap.hpp.

◆ operator++() [1/2]

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

Definition at line 461 of file hashmap.hpp.

◆ operator++() [2/2]

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

Definition at line 462 of file hashmap.hpp.

◆ operator--() [1/2]

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

Definition at line 463 of file hashmap.hpp.

◆ operator--() [2/2]

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

Definition at line 464 of file hashmap.hpp.

◆ operator->()

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

Definition at line 469 of file hashmap.hpp.

◆ operator<()

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

Definition at line 465 of file hashmap.hpp.

◆ operator==()

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

Definition at line 466 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 454 of file hashmap.hpp.

Member Data Documentation

◆ index

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

Definition at line 457 of file hashmap.hpp.

◆ ptr

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

Definition at line 456 of file hashmap.hpp.


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