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

Enumerator over an array of mesh entities. More...

#include <arcane/core/ItemArrayEnumerator.h>

Public Types

typedef ItemInternalItemPtr
typedef ItemPtr * Iterator

Public Member Functions

 ItemArrayEnumerator (const Int32ConstArrayView ids, const ItemInternalList &items_internal)
 ItemArrayEnumerator (const Int32 *ids, Integer nb_item, const ItemPtr *items_internal)
void operator++ ()
bool hasNext () const
Integer itemLocalId () const
Integer index () const
Item operator* () const

Protected Attributes

Integer m_current
Integer m_end
const Int32 *ARCANE_RESTRICT m_items_local_id
const ItemPtr * m_items_internal

Detailed Description

Enumerator over an array of mesh entities.

Definition at line 31 of file ItemArrayEnumerator.h.

Member Typedef Documentation

◆ ItemPtr

typedef ItemInternal* Arcane::ItemArrayEnumerator::ItemPtr

Definition at line 35 of file ItemArrayEnumerator.h.

◆ Iterator

typedef ItemPtr* Arcane::ItemArrayEnumerator::Iterator

Definition at line 36 of file ItemArrayEnumerator.h.

Constructor & Destructor Documentation

◆ ItemArrayEnumerator() [1/2]

Arcane::ItemArrayEnumerator::ItemArrayEnumerator ( const Int32ConstArrayView ids,
const ItemInternalList & items_internal )
inline

Definition at line 40 of file ItemArrayEnumerator.h.

◆ ItemArrayEnumerator() [2/2]

Arcane::ItemArrayEnumerator::ItemArrayEnumerator ( const Int32 * ids,
Integer nb_item,
const ItemPtr * items_internal )
inline

Definition at line 47 of file ItemArrayEnumerator.h.

Member Function Documentation

◆ hasNext()

bool Arcane::ItemArrayEnumerator::hasNext ( ) const
inline

Definition at line 61 of file ItemArrayEnumerator.h.

◆ index()

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

Definition at line 69 of file ItemArrayEnumerator.h.

◆ itemLocalId()

Integer Arcane::ItemArrayEnumerator::itemLocalId ( ) const
inline

Definition at line 65 of file ItemArrayEnumerator.h.

◆ operator*()

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

Definition at line 73 of file ItemArrayEnumerator.h.

◆ operator++()

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

Definition at line 57 of file ItemArrayEnumerator.h.

Member Data Documentation

◆ m_current

Integer Arcane::ItemArrayEnumerator::m_current
protected

Definition at line 80 of file ItemArrayEnumerator.h.

◆ m_end

Integer Arcane::ItemArrayEnumerator::m_end
protected

Definition at line 81 of file ItemArrayEnumerator.h.

◆ m_items_internal

const ItemPtr* Arcane::ItemArrayEnumerator::m_items_internal
protected

Definition at line 83 of file ItemArrayEnumerator.h.

◆ m_items_local_id

const Int32* ARCANE_RESTRICT Arcane::ItemArrayEnumerator::m_items_local_id
protected

Definition at line 82 of file ItemArrayEnumerator.h.


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