Aleph-w 3.0
A C++ Library for Data Structures and Algorithms
Loading...
Searching...
No Matches
Aleph::__const_iterator< Set_Type > Struct Template Reference

STL-compatible const iterator wrapper. More...

#include <ahIterator.H>

Inheritance diagram for Aleph::__const_iterator< Set_Type >:
[legend]
Collaboration diagram for Aleph::__const_iterator< Set_Type >:
[legend]

Public Types

using T = typename Set_Type::Item_Type
 
using Itor = typename Set_Type::Iterator
 

Public Member Functions

Itor operator++ ()
 
Itor operator++ (int)
 
bool operator== (const Itor &it) const noexcept
 
bool operator!= (const Itor &it) const noexcept
 
const Toperator* () const noexcept
 
T constoperator-> () const noexcept
 

Static Public Member Functions

static __const_iterator cbegin (const Set_Type &s) noexcept
 
static __const_iterator cend (const Set_Type &s) noexcept
 

Detailed Description

template<class Set_Type>
struct Aleph::__const_iterator< Set_Type >

STL-compatible const iterator wrapper.

Like __iterator but provides only const access to elements.

Template Parameters
Set_TypeContainer type with nested Iterator class

Definition at line 183 of file ahIterator.H.

Member Typedef Documentation

◆ Itor

template<class Set_Type >
using Aleph::__const_iterator< Set_Type >::Itor = typename Set_Type::Iterator

Definition at line 185 of file ahIterator.H.

◆ T

template<class Set_Type >
using Aleph::__const_iterator< Set_Type >::T = typename Set_Type::Item_Type

Definition at line 185 of file ahIterator.H.

Member Function Documentation

◆ cbegin()

template<class Set_Type >
static __const_iterator Aleph::__const_iterator< Set_Type >::cbegin ( const Set_Type &  s)
inlinestaticnoexcept

Definition at line 194 of file ahIterator.H.

◆ cend()

template<class Set_Type >
static __const_iterator Aleph::__const_iterator< Set_Type >::cend ( const Set_Type &  s)
inlinestaticnoexcept

Definition at line 199 of file ahIterator.H.

◆ operator!=()

template<class Set_Type >
bool Aleph::__const_iterator< Set_Type >::operator!= ( const Itor it) const
inlinenoexcept

Definition at line 185 of file ahIterator.H.

◆ operator*()

template<class Set_Type >
const T & Aleph::__const_iterator< Set_Type >::operator* ( ) const
inlinenoexcept

Definition at line 187 of file ahIterator.H.

References Aleph::get_curr().

◆ operator++() [1/2]

template<class Set_Type >
Itor Aleph::__const_iterator< Set_Type >::operator++ ( )
inline

Definition at line 185 of file ahIterator.H.

◆ operator++() [2/2]

template<class Set_Type >
Itor Aleph::__const_iterator< Set_Type >::operator++ ( int  )
inline

Definition at line 185 of file ahIterator.H.

◆ operator->()

template<class Set_Type >
T const * Aleph::__const_iterator< Set_Type >::operator-> ( ) const
inlinenoexcept

Definition at line 189 of file ahIterator.H.

References Aleph::get_curr().

◆ operator==()

template<class Set_Type >
bool Aleph::__const_iterator< Set_Type >::operator== ( const Itor it) const
inlinenoexcept

Definition at line 185 of file ahIterator.H.


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