Arcane  4.1.12.0
User documentation
Loading...
Searching...
No Matches
Arcane::ItemConnectedEnumeratorT< ItemType > Class Template Reference

Enumerator over a typed list of connected entities of type ItemType. More...

#include <arcane/core/ItemConnectedEnumerator.h>

Public Member Functions

template<int E>
 ItemConnectedEnumeratorT (const ItemConnectedListView< E > &rhs)
 ItemConnectedEnumeratorT (const ItemConnectedListViewT< ItemType > &rhs)
Public Member Functions inherited from Arcane::ItemConnectedEnumeratorBaseT< ItemType >
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.

Additional Inherited Members

Protected Attributes inherited from Arcane::ItemConnectedEnumeratorBaseT< ItemType >
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

Detailed Description

template<typename ItemType>
class Arcane::ItemConnectedEnumeratorT< ItemType >

Enumerator over a typed list of connected entities of type ItemType.

Definition at line 101 of file ItemConnectedEnumerator.h.

Constructor & Destructor Documentation

◆ ItemConnectedEnumeratorT() [1/2]

template<typename ItemType>
template<int E>
Arcane::ItemConnectedEnumeratorT< ItemType >::ItemConnectedEnumeratorT ( const ItemConnectedListView< E > & rhs)
inline

Definition at line 109 of file ItemConnectedEnumerator.h.

◆ ItemConnectedEnumeratorT() [2/2]

template<typename ItemType>
Arcane::ItemConnectedEnumeratorT< ItemType >::ItemConnectedEnumeratorT ( const ItemConnectedListViewT< ItemType > & rhs)
inline

Definition at line 112 of file ItemConnectedEnumerator.h.


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