Typed base class for enumerators over a list of connected entities. More...
#include <arcane/core/ItemConnectedEnumeratorBase.h>
Public Member Functions | |
| constexpr ItemType | operator* () const |
| constexpr const ItemType * | operator-> () const |
| constexpr LocalIdType | asItemLocalId () const |
| Public Member Functions inherited from Arcane::ItemConnectedEnumeratorBase | |
| constexpr void | operator++ () |
| Increments the enumerator index. | |
| constexpr bool | operator() () const |
| True if the end of the enumerator has not been reached (index()<count()). | |
| constexpr bool | hasNext () const |
| True if the end of the enumerator has not been reached (index()<count()). | |
| constexpr Int32 | count () const |
| Number of elements in the enumerator. | |
| constexpr Int32 | index () const |
| Current index of the enumerator. | |
| constexpr ItemLocalId | itemLocalId () const |
| localId() of the current entity. | |
| constexpr Int32 | localId () const |
| localId() of the current entity. | |
Protected Attributes | |
| ItemType | m_item = ItemType(NULL_ITEM_LOCAL_ID, nullptr) |
| Protected Attributes inherited from Arcane::ItemConnectedEnumeratorBase | |
| const Int32 *ARCANE_RESTRICT | m_local_ids = nullptr |
| Int32 | m_index = 0 |
| Int32 | m_count = 0 |
| Int32 | m_local_id_offset = 0 |
Friends | |
| class | ItemConnectedEnumerator |
| class | ItemConnectedEnumeratorT< ItemType > |
Typed base class for enumerators over a list of connected entities.
Instances of this class are created either via ItemConnectedEnumerator, or via ItemConnectedEnumeratorT.
Definition at line 111 of file ItemConnectedEnumeratorBase.h.
|
inlineconstexpr |
Definition at line 162 of file ItemConnectedEnumeratorBase.h.
|
inlineconstexpr |
Definition at line 151 of file ItemConnectedEnumeratorBase.h.
|
inlineconstexpr |
Definition at line 156 of file ItemConnectedEnumeratorBase.h.
|
friend |
Definition at line 114 of file ItemConnectedEnumeratorBase.h.
|
friend |
Definition at line 114 of file ItemConnectedEnumeratorBase.h.
|
mutableprotected |
Definition at line 169 of file ItemConnectedEnumeratorBase.h.