Arcane  4.1.12.0
Developer documentation
Loading...
Searching...
No Matches
Arcane::ItemInternalVectorViewConstIterator Class Reference

Iterator for an ItemInternalVectorView. More...

#include <arcane/core/ItemInternalVectorView.h>

Collaboration diagram for Arcane::ItemInternalVectorViewConstIterator:

Public Types

typedef ItemInternalVectorViewConstIterator ThatClass
typedef std::random_access_iterator_tag iterator_category
typedef const ItemInternalPtr * pointer
 Type indexing the array.
typedef const ItemInternalPtr & reference
 Type indexing the array.
typedef ItemInternalPtr value_type
 Type indexing the array.
typedef Integer size_type
 Type indexing the array.
typedef Integer difference_type
 Type of a difference between iterator elements in the array.

Public Member Functions

value_type operator* () const
value_type operator-> () const
ThatClass & operator++ ()
ThatClass & operator-- ()
void operator+= (difference_type v)
void operator-= (difference_type v)

Private Types

typedef ItemInternalItemInternalPtr

Private Member Functions

 ItemInternalVectorViewConstIterator (const ItemInternalPtr *items, const Int32 *ARCANE_RESTRICT local_ids, Integer index, Int32 local_id_offset)

Private Attributes

const ItemInternalPtr * m_items
const Int32 *ARCANE_RESTRICT m_local_ids
Int32 m_index
Int32 m_local_id_offset = 0

Friends

class ItemInternalVectorView
template<int Extent>
class ItemConnectedListView
Integer operator- (const ThatClass &a, const ThatClass &b)
ThatClass operator- (const ThatClass &a, difference_type v)
ThatClass operator+ (const ThatClass &a, difference_type v)
bool operator< (const ThatClass &lhs, const ThatClass &rhs)
bool operator== (const ThatClass &lhs, const ThatClass &rhs)
bool operator!= (const ThatClass &lhs, const ThatClass &rhs)

Detailed Description

Iterator for an ItemInternalVectorView.

Deprecated
Use an iterator from an ItemVectorView.

Definition at line 38 of file ItemInternalVectorView.h.

Member Typedef Documentation

◆ difference_type

Type of a difference between iterator elements in the array.

Definition at line 71 of file ItemInternalVectorView.h.

◆ ItemInternalPtr

typedef ItemInternal* Arcane::ItemInternalVectorViewConstIterator::ItemInternalPtr
private

Definition at line 42 of file ItemInternalVectorView.h.

◆ iterator_category

typedef std::random_access_iterator_tag Arcane::ItemInternalVectorViewConstIterator::iterator_category

Definition at line 61 of file ItemInternalVectorView.h.

◆ pointer

Type indexing the array.

Definition at line 63 of file ItemInternalVectorView.h.

◆ reference

Type indexing the array.

Definition at line 65 of file ItemInternalVectorView.h.

◆ size_type

Type indexing the array.

Definition at line 69 of file ItemInternalVectorView.h.

◆ ThatClass

typedef ItemInternalVectorViewConstIterator Arcane::ItemInternalVectorViewConstIterator::ThatClass

Definition at line 57 of file ItemInternalVectorView.h.

◆ value_type

Type indexing the array.

Definition at line 67 of file ItemInternalVectorView.h.

Constructor & Destructor Documentation

◆ ItemInternalVectorViewConstIterator()

Arcane::ItemInternalVectorViewConstIterator::ItemInternalVectorViewConstIterator ( const ItemInternalPtr * items,
const Int32 *ARCANE_RESTRICT local_ids,
Integer index,
Int32 local_id_offset )
inlineprivate

Definition at line 46 of file ItemInternalVectorView.h.

Member Function Documentation

◆ operator*()

value_type Arcane::ItemInternalVectorViewConstIterator::operator* ( ) const
inline

Definition at line 75 of file ItemInternalVectorView.h.

◆ operator++()

ThatClass & Arcane::ItemInternalVectorViewConstIterator::operator++ ( )
inline

Definition at line 77 of file ItemInternalVectorView.h.

◆ operator+=()

void Arcane::ItemInternalVectorViewConstIterator::operator+= ( difference_type v)
inline

Definition at line 87 of file ItemInternalVectorView.h.

◆ operator--()

ThatClass & Arcane::ItemInternalVectorViewConstIterator::operator-- ( )
inline

Definition at line 82 of file ItemInternalVectorView.h.

◆ operator-=()

void Arcane::ItemInternalVectorViewConstIterator::operator-= ( difference_type v)
inline

Definition at line 88 of file ItemInternalVectorView.h.

◆ operator->()

value_type Arcane::ItemInternalVectorViewConstIterator::operator-> ( ) const
inline

Definition at line 76 of file ItemInternalVectorView.h.

◆ ItemConnectedListView

template<int Extent>
friend class ItemConnectedListView
friend

Definition at line 41 of file ItemInternalVectorView.h.

◆ ItemInternalVectorView

friend class ItemInternalVectorView
friend

Definition at line 40 of file ItemInternalVectorView.h.

◆ operator!=

bool operator!= ( const ThatClass & lhs,
const ThatClass & rhs )
friend

Definition at line 113 of file ItemInternalVectorView.h.

◆ operator+

ThatClass operator+ ( const ThatClass & a,
difference_type v )
friend

Definition at line 98 of file ItemInternalVectorView.h.

◆ operator- [1/2]

Integer operator- ( const ThatClass & a,
const ThatClass & b )
friend

Definition at line 89 of file ItemInternalVectorView.h.

◆ operator- [2/2]

ThatClass operator- ( const ThatClass & a,
difference_type v )
friend

Definition at line 93 of file ItemInternalVectorView.h.

◆ operator<

bool operator< ( const ThatClass & lhs,
const ThatClass & rhs )
friend

Definition at line 103 of file ItemInternalVectorView.h.

◆ operator==

bool operator== ( const ThatClass & lhs,
const ThatClass & rhs )
friend

Definition at line 107 of file ItemInternalVectorView.h.

Member Data Documentation

◆ m_index

Int32 Arcane::ItemInternalVectorViewConstIterator::m_index
private

Definition at line 122 of file ItemInternalVectorView.h.

◆ m_items

const ItemInternalPtr* Arcane::ItemInternalVectorViewConstIterator::m_items
private

Definition at line 120 of file ItemInternalVectorView.h.

◆ m_local_id_offset

Int32 Arcane::ItemInternalVectorViewConstIterator::m_local_id_offset = 0
private

Definition at line 123 of file ItemInternalVectorView.h.

◆ m_local_ids

const Int32* ARCANE_RESTRICT Arcane::ItemInternalVectorViewConstIterator::m_local_ids
private

Definition at line 121 of file ItemInternalVectorView.h.


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