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

Public Member Functions

 ItemInternalEnumerator (const ItemInternalPtr *items, const Int32 *local_ids, Integer n)
 ItemInternalEnumerator (const ItemInternalVectorView &view)
 ItemInternalEnumerator (const ItemInternalArrayView &items, const Int32ConstArrayView &local_ids)
ItemInternaloperator* () const
ItemInternaloperator-> () const
void operator++ ()
bool operator() ()
bool hasNext ()
Integer count () const
 Number of elements in the enumerator.
Integer index () const
 Current index of the enumerator.
Integer localId () const
 localId() of the current entity.

Protected Attributes

const ItemInternalPtr * m_items
const Int32 *ARCANE_RESTRICT m_local_ids
Integer m_index
Integer m_count

Friends

class ItemEnumerator

Detailed Description

Definition at line 40 of file ItemInternalEnumerator.h.

Constructor & Destructor Documentation

◆ ItemInternalEnumerator() [1/3]

Arcane::ItemInternalEnumerator::ItemInternalEnumerator ( const ItemInternalPtr * items,
const Int32 * local_ids,
Integer n )
inline

Definition at line 50 of file ItemInternalEnumerator.h.

◆ ItemInternalEnumerator() [2/3]

Arcane::ItemInternalEnumerator::ItemInternalEnumerator ( const ItemInternalVectorView & view)
inline

Definition at line 59 of file ItemInternalEnumerator.h.

◆ ItemInternalEnumerator() [3/3]

Arcane::ItemInternalEnumerator::ItemInternalEnumerator ( const ItemInternalArrayView & items,
const Int32ConstArrayView & local_ids )
inline

Definition at line 67 of file ItemInternalEnumerator.h.

Member Function Documentation

◆ count()

Integer Arcane::ItemInternalEnumerator::count ( ) const
inline

Number of elements in the enumerator.

Definition at line 83 of file ItemInternalEnumerator.h.

◆ hasNext()

bool Arcane::ItemInternalEnumerator::hasNext ( )
inline

Definition at line 80 of file ItemInternalEnumerator.h.

◆ index()

Integer Arcane::ItemInternalEnumerator::index ( ) const
inline

Current index of the enumerator.

Definition at line 86 of file ItemInternalEnumerator.h.

◆ localId()

Integer Arcane::ItemInternalEnumerator::localId ( ) const
inline

localId() of the current entity.

Definition at line 89 of file ItemInternalEnumerator.h.

◆ operator()()

bool Arcane::ItemInternalEnumerator::operator() ( )
inline

Definition at line 79 of file ItemInternalEnumerator.h.

◆ operator*()

ItemInternal * Arcane::ItemInternalEnumerator::operator* ( ) const
inline

Definition at line 76 of file ItemInternalEnumerator.h.

◆ operator++()

void Arcane::ItemInternalEnumerator::operator++ ( )
inline

Definition at line 78 of file ItemInternalEnumerator.h.

◆ operator->()

ItemInternal * Arcane::ItemInternalEnumerator::operator-> ( ) const
inline

Definition at line 77 of file ItemInternalEnumerator.h.

◆ ItemEnumerator

friend class ItemEnumerator
friend

Definition at line 45 of file ItemInternalEnumerator.h.

Member Data Documentation

◆ m_count

Integer Arcane::ItemInternalEnumerator::m_count
protected

Definition at line 96 of file ItemInternalEnumerator.h.

◆ m_index

Integer Arcane::ItemInternalEnumerator::m_index
protected

Definition at line 95 of file ItemInternalEnumerator.h.

◆ m_items

const ItemInternalPtr* Arcane::ItemInternalEnumerator::m_items
protected

Definition at line 93 of file ItemInternalEnumerator.h.

◆ m_local_ids

const Int32* ARCANE_RESTRICT Arcane::ItemInternalEnumerator::m_local_ids
protected

Definition at line 94 of file ItemInternalEnumerator.h.


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