Enumerator over a typed list of entities of type ItemType. More...
#include <arcane/core/ItemEnumerator.h>
Public Member Functions | |
| ItemEnumeratorT (const ItemVectorView &rhs) | |
| ItemEnumeratorT (const ItemVectorViewT< ItemType > &rhs) | |
| ItemEnumeratorT (const ItemEnumerator &rhs) | |
| ItemEnumeratorT (const ItemInternalEnumerator &rhs) | |
| ItemEnumeratorT (const ItemInternalPtr *items, const Int32 *local_ids, Integer n, const ItemGroupImpl *agroup=nullptr) | |
| ItemEnumeratorT (const ItemInternalArrayView &items, const Int32ConstArrayView &local_ids, const ItemGroupImpl *agroup=nullptr) | |
| ItemEnumeratorT (const ItemInternalVectorView &view, const ItemGroupImpl *agroup=nullptr) | |
| ItemEnumeratorT (const ItemConnectedListViewT< ItemType > &rhs) | |
| operator ItemEnumerator () const | |
| Conversion to an ItemEnumerator. | |
| Public Member Functions inherited from Arcane::ItemEnumeratorBaseT< ItemType > | |
| constexpr const ItemInternalPtr * | unguardedItems () const |
| List of ItemInternal. NOTE: In Arcane, this method is used only for the C# wrapper. To be removed later. | |
| constexpr ItemInternal * | internal () const |
| Internal part (for internal use only). | |
| constexpr ItemType | operator* () const |
| constexpr const ItemType * | operator-> () const |
| constexpr LocalIdType | asItemLocalId () const |
| constexpr | operator LocalIdType () const |
| ItemEnumerator | toItemEnumerator () const |
| impl::ItemBase | _internalItemBase () const |
| Public Member Functions inherited from Arcane::ItemEnumeratorBase | |
| constexpr void | operator++ () |
| Increments the enumerator index. | |
| constexpr bool | operator() () |
| constexpr bool | hasNext () |
| True if the end of the enumerator has not been reached (index()<count()). | |
| constexpr Integer | count () const |
| Number of elements in the enumerator. | |
| constexpr Integer | index () const |
| Current index of the enumerator. | |
| Int32 | itemLocalId () const |
| localId() of the current entity. | |
| Int32 | localId () const |
| localId() of the current entity. | |
| constexpr const Int32 * | unguardedLocalIds () const |
| Local indices. | |
| constexpr const ItemGroupImpl * | group () const |
| Underlying group if it exists (nullptr otherwise). | |
Static Public Member Functions | |
| static ItemEnumeratorT< ItemType > | fromItemEnumerator (const ItemEnumerator &rhs) |
| Static Public Member Functions inherited from Arcane::ItemEnumeratorBase | |
| static constexpr int | version () |
Private Types | |
| using | ItemInternalPtr = ItemInternal* |
| using | LocalIdType = typename ItemType::LocalIdType |
| using | BaseClass = ItemEnumeratorBaseT<ItemType> |
Private Member Functions | |
| ItemEnumeratorT (const ItemInfoListViewT< ItemType > &items, const Int32ConstArrayView &local_ids, const ItemGroupImpl *agroup=nullptr) | |
| ItemEnumeratorT (ItemSharedInfo *s, const Int32ConstArrayView &local_ids) | |
| ItemEnumeratorT (ItemSharedInfo *s, const impl::ItemLocalIdListContainerView &view) | |
| ItemEnumeratorT (const ItemEnumerator &rhs, bool v) | |
| Constructor only used by fromItemEnumerator(). | |
Friends | |
| class | ItemVectorT< ItemType > |
| class | ItemVectorViewT< ItemType > |
| class | ItemConnectedListViewT< ItemType > |
| class | SimdItemEnumeratorT< ItemType > |
| template<typename I1, typename I2> | |
| class | ItemPairEnumeratorT |
Enumerator over a typed list of entities of type ItemType.
Definition at line 236 of file ItemEnumerator.h.
|
private |
Definition at line 243 of file ItemEnumerator.h.
|
private |
Definition at line 241 of file ItemEnumerator.h.
|
private |
Definition at line 242 of file ItemEnumerator.h.
|
inline |
Definition at line 253 of file ItemEnumerator.h.
|
inline |
Definition at line 256 of file ItemEnumerator.h.
|
inline |
Definition at line 263 of file ItemEnumerator.h.
|
inline |
Definition at line 268 of file ItemEnumerator.h.
|
inline |
Definition at line 275 of file ItemEnumerator.h.
|
inline |
Definition at line 280 of file ItemEnumerator.h.
|
inline |
Definition at line 285 of file ItemEnumerator.h.
|
inline |
Definition at line 292 of file ItemEnumerator.h.
|
inlineprivate |
Definition at line 299 of file ItemEnumerator.h.
|
inlineprivate |
Definition at line 306 of file ItemEnumerator.h.
|
inlineprivate |
Definition at line 310 of file ItemEnumerator.h.
|
inlineprivate |
Constructor only used by fromItemEnumerator().
Definition at line 329 of file ItemEnumerator.h.
|
inlinestatic |
Definition at line 321 of file ItemEnumerator.h.
|
inline |
Conversion to an ItemEnumerator.
Definition at line 317 of file ItemEnumerator.h.
|
friend |
Definition at line 158 of file ItemEnumerator.h.
|
friend |
Definition at line 248 of file ItemEnumerator.h.
|
friend |
Definition at line 158 of file ItemEnumerator.h.
|
friend |
Definition at line 158 of file ItemEnumerator.h.
|
friend |
Definition at line 158 of file ItemEnumerator.h.