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

STL-compatible mutable iterator wrapper. More...

#include <ahIterator.H>

Inheritance diagram for Aleph::__iterator< Set_Type >:
[legend]
Collaboration diagram for Aleph::__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
 
Toperator* () const
 
Toperator-> () const
 

Static Public Member Functions

static __iterator begin (const Set_Type &s) noexcept
 
static __iterator end (const Set_Type &s) noexcept
 

Detailed Description

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

STL-compatible mutable iterator wrapper.

Wraps an Aleph-w Iterator to provide STL-compatible interface including operator*, operator->, operator++, and comparison.

Template Parameters
Set_TypeContainer type with nested Iterator class
Note
operator* is const to satisfy std::indirectly_readable concept.

Definition at line 148 of file ahIterator.H.

Member Typedef Documentation

◆ Itor

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

Definition at line 150 of file ahIterator.H.

◆ T

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

Definition at line 150 of file ahIterator.H.

Member Function Documentation

◆ begin()

template<class Set_Type >
static __iterator Aleph::__iterator< Set_Type >::begin ( const Set_Type &  s)
inlinestaticnoexcept

Definition at line 162 of file ahIterator.H.

◆ end()

template<class Set_Type >
static __iterator Aleph::__iterator< Set_Type >::end ( const Set_Type &  s)
inlinestaticnoexcept

Definition at line 167 of file ahIterator.H.

◆ operator!=()

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

Definition at line 150 of file ahIterator.H.

◆ operator*()

template<class Set_Type >
T & Aleph::__iterator< Set_Type >::operator* ( ) const
inline

Definition at line 155 of file ahIterator.H.

References Aleph::get_curr().

◆ operator++() [1/2]

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

Definition at line 150 of file ahIterator.H.

◆ operator++() [2/2]

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

Definition at line 150 of file ahIterator.H.

◆ operator->()

template<class Set_Type >
T * Aleph::__iterator< Set_Type >::operator-> ( ) const
inline

Definition at line 157 of file ahIterator.H.

References Aleph::get_curr().

◆ operator==()

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

Definition at line 150 of file ahIterator.H.


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