Arbiter
Dependency manager library that supports decentralization
Public Member Functions | List of all members
Arbiter::MultipassIterator< It > Class Template Referencefinal

Contains the state necessary to perform an algorithm over an iterator multiple times. More...

Public Member Functions

 MultipassIterator ()=default
 
 MultipassIterator (It begin, It current, It end)
 
 MultipassIterator (const IteratorRange< It > &range)
 
 MultipassIterator (IteratorRange< It > &&range)
 
 operator bool () const
 
std::iterator_traits< It >::reference operator* () const
 
MultipassIteratoroperator++ ()
 
void reset ()
 

Detailed Description

template<typename It>
class Arbiter::MultipassIterator< It >

Contains the state necessary to perform an algorithm over an iterator multiple times.

Definition at line 56 of file Iterator.h.

Constructor & Destructor Documentation

§ MultipassIterator() [1/4]

template<typename It >
Arbiter::MultipassIterator< It >::MultipassIterator ( )
default

§ MultipassIterator() [2/4]

template<typename It >
Arbiter::MultipassIterator< It >::MultipassIterator ( It  begin,
It  current,
It  end 
)

Definition at line 61 of file Iterator.h.

§ MultipassIterator() [3/4]

template<typename It >
Arbiter::MultipassIterator< It >::MultipassIterator ( const IteratorRange< It > &  range)
explicit

Definition at line 67 of file Iterator.h.

§ MultipassIterator() [4/4]

template<typename It >
Arbiter::MultipassIterator< It >::MultipassIterator ( IteratorRange< It > &&  range)
explicit

Definition at line 73 of file Iterator.h.

Member Function Documentation

§ operator bool()

template<typename It >
Arbiter::MultipassIterator< It >::operator bool ( ) const
explicit

Definition at line 80 of file Iterator.h.

§ operator*()

template<typename It >
std::iterator_traits<It>::reference Arbiter::MultipassIterator< It >::operator* ( ) const

Definition at line 96 of file Iterator.h.

§ operator++()

template<typename It >
MultipassIterator& Arbiter::MultipassIterator< It >::operator++ ( )

Definition at line 85 of file Iterator.h.

§ reset()

template<typename It >
void Arbiter::MultipassIterator< It >::reset ( )

Definition at line 91 of file Iterator.h.


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