Arcane  4.1.12.0
Developer documentation
Loading...
Searching...
No Matches
Arcane::IteratorBase< IT, R, P, V > Class Template Reference

Iteration interval.This class manages an iteration interval with a beginning and an end. It allows for the simple construction of an iterator pair to iterate over the entire container. More...

#include </__w/arcaneframework.github.io/arcaneframework.github.io/framework/arccore/src/base/arccore/base/Iterator.h>

Inheritance diagram for Arcane::IteratorBase< IT, R, P, V >:
Collaboration diagram for Arcane::IteratorBase< IT, R, P, V >:

Public Member Functions

 IteratorBase (IT b, IT e)
void operator++ ()
void operator-- ()
operator* () const
operator-> () const
bool notEnd () const
bool operator() () const
IT current () const
IT end () const

Private Attributes

IT m_begin
 Iterator over the current element.
IT m_end
 Iterator over the end of the container.

Detailed Description

template<class IT, class R, class P, class V>
class Arcane::IteratorBase< IT, R, P, V >

Iteration interval.

This class manages an iteration interval with a beginning and an end. It allows for the simple construction of an iterator pair to iterate over the entire container.

Definition at line 39 of file arccore/src/base/arccore/base/Iterator.h.

Constructor & Destructor Documentation

◆ IteratorBase()

template<class IT, class R, class P, class V>
Arcane::IteratorBase< IT, R, P, V >::IteratorBase ( IT b,
IT e )
inline

Definition at line 43 of file arccore/src/base/arccore/base/Iterator.h.

Member Function Documentation

◆ current()

template<class IT, class R, class P, class V>
IT Arcane::IteratorBase< IT, R, P, V >::current ( ) const
inline

Definition at line 54 of file arccore/src/base/arccore/base/Iterator.h.

◆ end()

template<class IT, class R, class P, class V>
IT Arcane::IteratorBase< IT, R, P, V >::end ( ) const
inline

Definition at line 55 of file arccore/src/base/arccore/base/Iterator.h.

◆ notEnd()

template<class IT, class R, class P, class V>
bool Arcane::IteratorBase< IT, R, P, V >::notEnd ( ) const
inline

Definition at line 52 of file arccore/src/base/arccore/base/Iterator.h.

◆ operator()()

template<class IT, class R, class P, class V>
bool Arcane::IteratorBase< IT, R, P, V >::operator() ( ) const
inline

Definition at line 53 of file arccore/src/base/arccore/base/Iterator.h.

◆ operator*()

template<class IT, class R, class P, class V>
R Arcane::IteratorBase< IT, R, P, V >::operator* ( ) const
inline

Definition at line 50 of file arccore/src/base/arccore/base/Iterator.h.

◆ operator++()

template<class IT, class R, class P, class V>
void Arcane::IteratorBase< IT, R, P, V >::operator++ ( )
inline

Definition at line 48 of file arccore/src/base/arccore/base/Iterator.h.

◆ operator--()

template<class IT, class R, class P, class V>
void Arcane::IteratorBase< IT, R, P, V >::operator-- ( )
inline

Definition at line 49 of file arccore/src/base/arccore/base/Iterator.h.

◆ operator->()

template<class IT, class R, class P, class V>
V Arcane::IteratorBase< IT, R, P, V >::operator-> ( ) const
inline

Definition at line 51 of file arccore/src/base/arccore/base/Iterator.h.

Member Data Documentation

◆ m_begin

template<class IT, class R, class P, class V>
IT Arcane::IteratorBase< IT, R, P, V >::m_begin
private

Iterator over the current element.

Definition at line 59 of file arccore/src/base/arccore/base/Iterator.h.

◆ m_end

template<class IT, class R, class P, class V>
IT Arcane::IteratorBase< IT, R, P, V >::m_end
private

Iterator over the end of the container.

Definition at line 60 of file arccore/src/base/arccore/base/Iterator.h.


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