Arcane  v3.15.3.0
Documentation développeur
Chargement...
Recherche...
Aucune correspondance
Référence du modèle de la classe Arccore::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 Arccore::ArrayIterator< Iterator_ >:

Types publics

typedef std::random_access_iterator_tag iterator_category
 
typedef TraitsType_::value_type value_type
 
typedef TraitsType_::difference_type difference_type
 
typedef TraitsType_::reference reference
 
typedef TraitsType_::pointer pointer
 

Fonctions membres publiques

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

Types protégés

using TraitsType_ = std::iterator_traits< 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 Arccore::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 37 du fichier arccore/src/base/arccore/base/ArrayIterator.h.

Documentation des définitions de type membres

◆ difference_type

template<typename Iterator_ >
typedef TraitsType_::difference_type Arccore::ArrayIterator< Iterator_ >::difference_type

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

◆ iterator_category

template<typename Iterator_ >
typedef std::random_access_iterator_tag Arccore::ArrayIterator< Iterator_ >::iterator_category

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

◆ Iterator_enable_if_t

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

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

◆ pointer

template<typename Iterator_ >
typedef TraitsType_::pointer Arccore::ArrayIterator< Iterator_ >::pointer

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

◆ reference

template<typename Iterator_ >
typedef TraitsType_::reference Arccore::ArrayIterator< Iterator_ >::reference

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

◆ TraitsType_

template<typename Iterator_ >
using Arccore::ArrayIterator< Iterator_ >::TraitsType_ = std::iterator_traits<Iterator_>
protected

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

◆ value_type

template<typename Iterator_ >
typedef TraitsType_::value_type Arccore::ArrayIterator< Iterator_ >::value_type

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

Documentation des constructeurs et destructeur

◆ ArrayIterator() [1/3]

template<typename Iterator_ >
constexpr ARCCORE_HOST_DEVICE Arccore::ArrayIterator< Iterator_ >::ArrayIterator ( )
inlineconstexpr

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

◆ ArrayIterator() [2/3]

template<typename Iterator_ >
constexpr ARCCORE_HOST_DEVICE Arccore::ArrayIterator< Iterator_ >::ArrayIterator ( const Iterator_ &  i)
inlineexplicitconstexpr

Définition à la ligne 63 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>>
constexpr ARCCORE_HOST_DEVICE Arccore::ArrayIterator< Iterator_ >::ArrayIterator ( const ArrayIterator< X > &  iter)
inlineconstexpr

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

Documentation des fonctions membres

◆ base()

template<typename Iterator_ >
constexpr ARCCORE_HOST_DEVICE const Iterator_ & Arccore::ArrayIterator< Iterator_ >::base ( ) const
inlineconstexpr

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

◆ operator*()

template<typename Iterator_ >
constexpr ARCCORE_HOST_DEVICE reference Arccore::ArrayIterator< Iterator_ >::operator* ( ) const
inlineconstexpr

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

◆ operator+()

template<typename Iterator_ >
constexpr ARCCORE_HOST_DEVICE ArrayIterator Arccore::ArrayIterator< Iterator_ >::operator+ ( difference_type  n) const
inlineconstexpr

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

◆ operator++() [1/2]

template<typename Iterator_ >
constexpr ARCCORE_HOST_DEVICE ArrayIterator & Arccore::ArrayIterator< Iterator_ >::operator++ ( )
inlineconstexpr

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

◆ operator++() [2/2]

template<typename Iterator_ >
constexpr ARCCORE_HOST_DEVICE ArrayIterator Arccore::ArrayIterator< Iterator_ >::operator++ ( int  )
inlineconstexpr

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

◆ operator+=()

template<typename Iterator_ >
constexpr ARCCORE_HOST_DEVICE ArrayIterator & Arccore::ArrayIterator< Iterator_ >::operator+= ( difference_type  n)
inlineconstexpr

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

◆ operator-()

template<typename Iterator_ >
constexpr ARCCORE_HOST_DEVICE ArrayIterator Arccore::ArrayIterator< Iterator_ >::operator- ( difference_type  n) const
inlineconstexpr

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

◆ operator--() [1/2]

template<typename Iterator_ >
constexpr ARCCORE_HOST_DEVICE ArrayIterator & Arccore::ArrayIterator< Iterator_ >::operator-- ( )
inlineconstexpr

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

◆ operator--() [2/2]

template<typename Iterator_ >
constexpr ARCCORE_HOST_DEVICE ArrayIterator Arccore::ArrayIterator< Iterator_ >::operator-- ( int  )
inlineconstexpr

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

◆ operator-=()

template<typename Iterator_ >
constexpr ARCCORE_HOST_DEVICE ArrayIterator & Arccore::ArrayIterator< Iterator_ >::operator-= ( difference_type  n)
inlineconstexpr

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

◆ operator->()

template<typename Iterator_ >
constexpr ARCCORE_HOST_DEVICE pointer Arccore::ArrayIterator< Iterator_ >::operator-> ( ) const
inlineconstexpr

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

◆ operator[]()

template<typename Iterator_ >
constexpr ARCCORE_HOST_DEVICE reference Arccore::ArrayIterator< Iterator_ >::operator[] ( difference_type  n) const
inlineconstexpr

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

Documentation des données membres

◆ m_ptr

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

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


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