CBMC
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
dense_integer_mapt< K, V, KeyToDenseInteger >::iterator_templatet< UnderlyingIterator, UnderlyingValue > Class Template Reference
+ Collaboration diagram for dense_integer_mapt< K, V, KeyToDenseInteger >::iterator_templatet< UnderlyingIterator, UnderlyingValue >:

Public Types

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

Public Member Functions

 iterator_templatet (UnderlyingIterator it, const map_typet &underlying_map)
 
 operator iterator_templatet< typename backing_storet::const_iterator, const typename backing_storet::value_type > () const
 Convert iterator to const_iterator (redundant when defined in the const_iterator itself)
 
self_typet operator++ ()
 
self_typet operator++ (int junk)
 
reference operator* () const
 
pointer operator-> () const
 
bool operator== (const self_typet &rhs) const
 
bool operator!= (const self_typet &rhs) const
 

Private Types

typedef iterator_templatet< UnderlyingIterator, UnderlyingValueself_typet
 
typedef dense_integer_mapt< K, V, KeyToDenseIntegermap_typet
 

Private Member Functions

UnderlyingIterator advance (UnderlyingIterator it)
 
UnderlyingIterator skip_unset_values (UnderlyingIterator it)
 

Private Attributes

UnderlyingIterator underlying_iterator
 
const map_typetunderlying_map
 

Detailed Description

template<class K, class V, class KeyToDenseInteger = identity_functort>
template<class UnderlyingIterator, class UnderlyingValue>
class dense_integer_mapt< K, V, KeyToDenseInteger >::iterator_templatet< UnderlyingIterator, UnderlyingValue >

Definition at line 119 of file dense_integer_map.h.

Member Typedef Documentation

◆ difference_type

Definition at line 131 of file dense_integer_map.h.

◆ iterator_category

template<class K , class V , class KeyToDenseInteger = identity_functort>
using dense_integer_mapt< K, V, KeyToDenseInteger >::iterator_templatet< UnderlyingIterator, UnderlyingValue >::iterator_category = std::forward_iterator_tag

Definition at line 129 of file dense_integer_map.h.

◆ map_typet

◆ pointer

◆ reference

◆ self_typet

◆ value_type

Constructor & Destructor Documentation

◆ iterator_templatet()

template<class K , class V , class KeyToDenseInteger = identity_functort>
dense_integer_mapt< K, V, KeyToDenseInteger >::iterator_templatet< UnderlyingIterator, UnderlyingValue >::iterator_templatet ( UnderlyingIterator  it,
const map_typet underlying_map 
)
inline

Definition at line 135 of file dense_integer_map.h.

Member Function Documentation

◆ advance()

◆ operator iterator_templatet< typename backing_storet::const_iterator, const typename backing_storet::value_type >()

template<class K , class V , class KeyToDenseInteger = identity_functort>
dense_integer_mapt< K, V, KeyToDenseInteger >::iterator_templatet< UnderlyingIterator, UnderlyingValue >::operator iterator_templatet< typename backing_storet::const_iterator, const typename backing_storet::value_type > ( ) const
inline

Convert iterator to const_iterator (redundant when defined in the const_iterator itself)

Definition at line 143 of file dense_integer_map.h.

◆ operator!=()

◆ operator*()

◆ operator++() [1/2]

◆ operator++() [2/2]

◆ operator->()

◆ operator==()

◆ skip_unset_values()

Member Data Documentation

◆ underlying_iterator

◆ underlying_map


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