Arcane  4.1.12.0
User documentation
Loading...
Searching...
No Matches
Arcane::ItemVectorViewConstIterator Class Reference

Public Types

typedef ItemVectorViewConstIterator ThatClass
typedef std::random_access_iterator_tag iterator_category
typedef Item value_type
 Type indexing the array.
typedef Integer size_type
 Type indexing the array.
typedef std::ptrdiff_t difference_type
 Type of a distance between iterator elements of the array.
typedef const Itempointer
typedef const Itemreference

Public Member Functions

 ItemVectorViewConstIterator (const ItemConnectedListViewConstIterator &v)
Item operator* () const
ThatClass & operator++ ()
ThatClass & operator-- ()
void operator+= (difference_type v)
void operator-= (difference_type v)
difference_type operator- (const ThatClass &b) const
Item operator-> () const

Protected Member Functions

 ItemVectorViewConstIterator (ItemSharedInfo *shared_info, const Int32 *local_id_ptr, Int32 local_id_offset)
 ItemVectorViewConstIterator (ItemSharedInfo *shared_info, const Int32 *local_id_ptr)
ItemInternal_itemInternal () const

Protected Attributes

ItemSharedInfom_shared_info
const Int32m_local_id_ptr
Int32 m_local_id_offset = 0

Friends

class ItemVectorView
template<int Extent>
class ItemConnectedListView
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)
 Compare the iteration indices of two instances.
bool operator!= (const ThatClass &lhs, const ThatClass &rhs)

Detailed Description

Definition at line 48 of file ItemVectorView.h.

Member Typedef Documentation

◆ difference_type

Type of a distance between iterator elements of the array.

Definition at line 85 of file ItemVectorView.h.

◆ iterator_category

typedef std::random_access_iterator_tag Arcane::ItemVectorViewConstIterator::iterator_category

Definition at line 79 of file ItemVectorView.h.

◆ pointer

typedef const Item* Arcane::ItemVectorViewConstIterator::pointer

Definition at line 90 of file ItemVectorView.h.

◆ reference

typedef const Item& Arcane::ItemVectorViewConstIterator::reference

Definition at line 92 of file ItemVectorView.h.

◆ size_type

Type indexing the array.

Definition at line 83 of file ItemVectorView.h.

◆ ThatClass

typedef ItemVectorViewConstIterator Arcane::ItemVectorViewConstIterator::ThatClass

Definition at line 78 of file ItemVectorView.h.

◆ value_type

Type indexing the array.

Definition at line 81 of file ItemVectorView.h.

Constructor & Destructor Documentation

◆ ItemVectorViewConstIterator() [1/3]

Arcane::ItemVectorViewConstIterator::ItemVectorViewConstIterator ( ItemSharedInfo * shared_info,
const Int32 * local_id_ptr,
Int32 local_id_offset )
inlineprotected

Definition at line 57 of file ItemVectorView.h.

◆ ItemVectorViewConstIterator() [2/3]

Arcane::ItemVectorViewConstIterator::ItemVectorViewConstIterator ( ItemSharedInfo * shared_info,
const Int32 * local_id_ptr )
inlineprotected

Definition at line 62 of file ItemVectorView.h.

◆ ItemVectorViewConstIterator() [3/3]

Arcane::ItemVectorViewConstIterator::ItemVectorViewConstIterator ( const ItemConnectedListViewConstIterator & v)
inline

Definition at line 70 of file ItemVectorView.h.

Member Function Documentation

◆ _itemInternal()

ItemInternal * Arcane::ItemVectorViewConstIterator::_itemInternal ( ) const
inlineprotected

Definition at line 149 of file ItemVectorView.h.

◆ operator*()

Item Arcane::ItemVectorViewConstIterator::operator* ( ) const
inline

Definition at line 96 of file ItemVectorView.h.

◆ operator++()

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

Definition at line 98 of file ItemVectorView.h.

◆ operator+=()

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

Definition at line 108 of file ItemVectorView.h.

◆ operator-()

difference_type Arcane::ItemVectorViewConstIterator::operator- ( const ThatClass & b) const
inline

Definition at line 110 of file ItemVectorView.h.

◆ operator--()

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

Definition at line 103 of file ItemVectorView.h.

◆ operator-=()

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

Definition at line 109 of file ItemVectorView.h.

◆ operator->()

Item Arcane::ItemVectorViewConstIterator::operator-> ( ) const
inline

Definition at line 139 of file ItemVectorView.h.

◆ ItemConnectedListView

template<int Extent>
friend class ItemConnectedListView
friend

Definition at line 53 of file ItemVectorView.h.

◆ ItemVectorView

friend class ItemVectorView
friend

Definition at line 52 of file ItemVectorView.h.

◆ operator!=

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

Definition at line 133 of file ItemVectorView.h.

◆ operator+

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

Definition at line 119 of file ItemVectorView.h.

◆ operator-

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

Definition at line 114 of file ItemVectorView.h.

◆ operator<

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

Definition at line 124 of file ItemVectorView.h.

◆ operator==

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

Compare the iteration indices of two instances.

Definition at line 129 of file ItemVectorView.h.

Member Data Documentation

◆ m_local_id_offset

Int32 Arcane::ItemVectorViewConstIterator::m_local_id_offset = 0
protected

Definition at line 145 of file ItemVectorView.h.

◆ m_local_id_ptr

const Int32* Arcane::ItemVectorViewConstIterator::m_local_id_ptr
protected

Definition at line 144 of file ItemVectorView.h.

◆ m_shared_info

ItemSharedInfo* Arcane::ItemVectorViewConstIterator::m_shared_info
protected

Definition at line 143 of file ItemVectorView.h.


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