Arcane  4.2.1.0
Documentation développeur
Chargement...
Recherche...
Aucune correspondance
Référence du modèle de la classe Arcane::ArrayIterator< Iterator_ >

Itérateur sur les classes tableau de Arccore. Plus de détails...

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

Graphe de collaboration de Arcane::ArrayIterator< Iterator_ >:

Types publics

using value_type = TraitsType_::value_type
using difference_type = TraitsType_::difference_type
using reference = TraitsType_::reference
using pointer = TraitsType_::pointer

Fonctions membres publiques

constexpr __host__ __device__ ArrayIterator (const Iterator_ &i) noexcept
template<typename X, typename = Iterator_enable_if_t<std::is_same<X, value_type*>::value>>
constexpr __host__ __device__ ArrayIterator (const ArrayIterator< X > &iter) noexcept
constexpr __host__ __device__ reference operator* () const noexcept
constexpr __host__ __device__ pointer operator-> () const noexcept
constexpr __host__ __device__ ArrayIterator & operator++ () noexcept
constexpr __host__ __device__ ArrayIterator operator++ (int) noexcept
constexpr __host__ __device__ ArrayIterator & operator-- () noexcept
constexpr __host__ __device__ ArrayIterator operator-- (int) noexcept
constexpr __host__ __device__ reference operator[] (difference_type n) const noexcept
constexpr __host__ __device__ ArrayIterator & operator+= (difference_type n) noexcept
constexpr __host__ __device__ ArrayIterator operator+ (difference_type n) const noexcept
constexpr __host__ __device__ ArrayIterator & operator-= (difference_type n) noexcept
constexpr __host__ __device__ ArrayIterator operator- (difference_type n) const noexcept
constexpr __host__ __device__ const Iterator_ & base () const noexcept

Types protégés

using TraitsType_ = Arcane::Impl::ArrayIteratorTraits<Iterator_>

Attributs protégés

Iterator_ m_ptr

Types privés

template<bool B, class XX = void>
using Iterator_enable_if_t = typename std::enable_if<B, XX>::type

Description détaillée

template<typename Iterator_>
class Arcane::ArrayIterator< Iterator_ >

Itérateur sur les classes tableau de Arccore.

Cet itérateur est utilisé pour les classes Array, ArrayView et ConstArrayView.

Il est du type std::random_access_iterator_tag.

Définition à la ligne 59 du fichier arccore/src/base/arccore/base/ArrayIterator.h.

Documentation des définitions de type membres

◆ difference_type

template<typename Iterator_>
using Arcane::ArrayIterator< Iterator_ >::difference_type = TraitsType_::difference_type

Définition à la ligne 78 du fichier arccore/src/base/arccore/base/ArrayIterator.h.

◆ Iterator_enable_if_t

template<typename Iterator_>
template<bool B, class XX = void>
using Arcane::ArrayIterator< Iterator_ >::Iterator_enable_if_t = typename std::enable_if<B, XX>::type
private

Définition à la ligne 65 du fichier arccore/src/base/arccore/base/ArrayIterator.h.

◆ pointer

template<typename Iterator_>
using Arcane::ArrayIterator< Iterator_ >::pointer = TraitsType_::pointer

Définition à la ligne 80 du fichier arccore/src/base/arccore/base/ArrayIterator.h.

◆ reference

template<typename Iterator_>
using Arcane::ArrayIterator< Iterator_ >::reference = TraitsType_::reference

Définition à la ligne 79 du fichier arccore/src/base/arccore/base/ArrayIterator.h.

◆ TraitsType_

template<typename Iterator_>
using Arcane::ArrayIterator< Iterator_ >::TraitsType_ = Arcane::Impl::ArrayIteratorTraits<Iterator_>
protected

Définition à la ligne 71 du fichier arccore/src/base/arccore/base/ArrayIterator.h.

◆ value_type

template<typename Iterator_>
using Arcane::ArrayIterator< Iterator_ >::value_type = TraitsType_::value_type

Définition à la ligne 77 du fichier arccore/src/base/arccore/base/ArrayIterator.h.

Documentation des constructeurs et destructeur

◆ ArrayIterator() [1/3]

template<typename Iterator_>
__host__ __device__ Arcane::ArrayIterator< Iterator_ >::ArrayIterator ( )
inlineconstexprnoexcept

Définition à la ligne 84 du fichier arccore/src/base/arccore/base/ArrayIterator.h.

◆ ArrayIterator() [2/3]

template<typename Iterator_>
__host__ __device__ Arcane::ArrayIterator< Iterator_ >::ArrayIterator ( const Iterator_ & i)
inlineexplicitconstexprnoexcept

Définition à la ligne 86 du fichier arccore/src/base/arccore/base/ArrayIterator.h.

◆ ArrayIterator() [3/3]

template<typename Iterator_>
template<typename X, typename = Iterator_enable_if_t<std::is_same<X, value_type*>::value>>
__host__ __device__ Arcane::ArrayIterator< Iterator_ >::ArrayIterator ( const ArrayIterator< X > & iter)
inlineconstexprnoexcept

Définition à la ligne 91 du fichier arccore/src/base/arccore/base/ArrayIterator.h.

Documentation des fonctions membres

◆ base()

template<typename Iterator_>
__host__ __device__ const Iterator_ & Arcane::ArrayIterator< Iterator_ >::base ( ) const
inlineconstexprnoexcept

Définition à la ligne 127 du fichier arccore/src/base/arccore/base/ArrayIterator.h.

◆ operator*()

template<typename Iterator_>
__host__ __device__ reference Arcane::ArrayIterator< Iterator_ >::operator* ( ) const
inlineconstexprnoexcept

Définition à la ligne 95 du fichier arccore/src/base/arccore/base/ArrayIterator.h.

◆ operator+()

template<typename Iterator_>
__host__ __device__ ArrayIterator Arcane::ArrayIterator< Iterator_ >::operator+ ( difference_type n) const
inlineconstexprnoexcept

Définition à la ligne 119 du fichier arccore/src/base/arccore/base/ArrayIterator.h.

◆ operator++() [1/2]

template<typename Iterator_>
__host__ __device__ ArrayIterator & Arcane::ArrayIterator< Iterator_ >::operator++ ( )
inlineconstexprnoexcept

Définition à la ligne 97 du fichier arccore/src/base/arccore/base/ArrayIterator.h.

◆ operator++() [2/2]

template<typename Iterator_>
__host__ __device__ ArrayIterator Arcane::ArrayIterator< Iterator_ >::operator++ ( int )
inlineconstexprnoexcept

Définition à la ligne 102 du fichier arccore/src/base/arccore/base/ArrayIterator.h.

◆ operator+=()

template<typename Iterator_>
__host__ __device__ ArrayIterator & Arcane::ArrayIterator< Iterator_ >::operator+= ( difference_type n)
inlineconstexprnoexcept

Définition à la ligne 114 du fichier arccore/src/base/arccore/base/ArrayIterator.h.

◆ operator-()

template<typename Iterator_>
__host__ __device__ ArrayIterator Arcane::ArrayIterator< Iterator_ >::operator- ( difference_type n) const
inlineconstexprnoexcept

Définition à la ligne 125 du fichier arccore/src/base/arccore/base/ArrayIterator.h.

◆ operator--() [1/2]

template<typename Iterator_>
__host__ __device__ ArrayIterator & Arcane::ArrayIterator< Iterator_ >::operator-- ( )
inlineconstexprnoexcept

Définition à la ligne 105 du fichier arccore/src/base/arccore/base/ArrayIterator.h.

◆ operator--() [2/2]

template<typename Iterator_>
__host__ __device__ ArrayIterator Arcane::ArrayIterator< Iterator_ >::operator-- ( int )
inlineconstexprnoexcept

Définition à la ligne 110 du fichier arccore/src/base/arccore/base/ArrayIterator.h.

◆ operator-=()

template<typename Iterator_>
__host__ __device__ ArrayIterator & Arcane::ArrayIterator< Iterator_ >::operator-= ( difference_type n)
inlineconstexprnoexcept

Définition à la ligne 120 du fichier arccore/src/base/arccore/base/ArrayIterator.h.

◆ operator->()

template<typename Iterator_>
__host__ __device__ pointer Arcane::ArrayIterator< Iterator_ >::operator-> ( ) const
inlineconstexprnoexcept

Définition à la ligne 96 du fichier arccore/src/base/arccore/base/ArrayIterator.h.

◆ operator[]()

template<typename Iterator_>
__host__ __device__ reference Arcane::ArrayIterator< Iterator_ >::operator[] ( difference_type n) const
inlineconstexprnoexcept

Définition à la ligne 113 du fichier arccore/src/base/arccore/base/ArrayIterator.h.

Documentation des données membres

◆ m_ptr

template<typename Iterator_>
Iterator_ Arcane::ArrayIterator< Iterator_ >::m_ptr
protected

Définition à la ligne 69 du fichier arccore/src/base/arccore/base/ArrayIterator.h.


La documentation de cette classe a été générée à partir du fichier suivant :