Arcane  4.1.12.0
Developer documentation
Loading...
Searching...
No Matches
Arcane::SimdItemT< ItemType > Class Template Reference

Manages a vector of ItemType entities. More...

#include <arcane/core/SimdItem.h>

Inheritance diagram for Arcane::SimdItemT< ItemType >:
Collaboration diagram for Arcane::SimdItemT< ItemType >:

Public Member Functions

ItemType item (Integer si) const
 Returns the si-th entity of the instance.
ItemType operator[] (Integer si) const
 Returns the si-th entity of the instance.
 operator SimdItemIndexT< ItemType > ()
Public Member Functions inherited from Arcane::SimdItem
 SimdItem (const ItemInternalPtr *items, const SimdInfo::SimdInt32IndexType *ids)
Item item (Int32 si) const
 inline si-th entity of the instance
Item operator[] (Int32 si) const
 inline si-th entity of the instance
Public Member Functions inherited from Arcane::SimdItemBase
 SimdItemBase (const ItemInternalPtr *items, const SimdIndexType *ids)
 Constructs an instance.
ItemInternalitem (Integer si) const
 Internal part (for internal use only).
ItemInternaloperator[] (Integer si) const
const SimdIndexType &ARCANE_RESTRICT simdLocalIds () const
 List of local IDs of the instance entities.
const Int32 *ARCANE_RESTRICT localIds () const
 List of local IDs of the instance entities.
Int32 localId (Int32 index) const
 Local ID of the entity at index index.

Protected Types

typedef ItemInternalItemInternalPtr
Protected Types inherited from Arcane::SimdItemBase
typedef ItemInternalItemInternalPtr

Private Member Functions

 SimdItemT (ItemSharedInfo *shared_info, const SimdInfo::SimdInt32IndexType *ids)

Friends

class SimdItemEnumeratorT< ItemType >

Additional Inherited Members

Public Types inherited from Arcane::SimdItemBase
typedef SimdInfo::SimdInt32IndexType SimdIndexType
Protected Member Functions inherited from Arcane::SimdItem
 SimdItem (ItemSharedInfo *shared_info, const SimdInfo::SimdInt32IndexType *ids)
Protected Member Functions inherited from Arcane::SimdItemBase
 SimdItemBase (ItemSharedInfo *shared_info, const SimdIndexType *ids)
Protected Attributes inherited from Arcane::SimdItemBase
SimdIndexType m_simd_local_ids
ItemSharedInfom_shared_info = ItemSharedInfo::nullInstance()

Detailed Description

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

Manages a vector of ItemType entities.

Definition at line 270 of file SimdItem.h.

Member Typedef Documentation

◆ ItemInternalPtr

template<typename ItemType>
typedef ItemInternal* Arcane::SimdItemT< ItemType >::ItemInternalPtr
protected

Definition at line 277 of file SimdItem.h.

Constructor & Destructor Documentation

◆ SimdItemT()

template<typename ItemType>
Arcane::SimdItemT< ItemType >::SimdItemT ( ItemSharedInfo * shared_info,
const SimdInfo::SimdInt32IndexType * ids )
inlineprivate

Definition at line 289 of file SimdItem.h.

Member Function Documentation

◆ item()

template<typename ItemType>
ItemType Arcane::SimdItemT< ItemType >::item ( Integer si) const
inline

Returns the si-th entity of the instance.

Definition at line 296 of file SimdItem.h.

◆ operator SimdItemIndexT< ItemType >()

template<typename ItemType>
Arcane::SimdItemT< ItemType >::operator SimdItemIndexT< ItemType > ( )
inline

Definition at line 307 of file SimdItem.h.

◆ operator[]()

template<typename ItemType>
ItemType Arcane::SimdItemT< ItemType >::operator[] ( Integer si) const
inline

Returns the si-th entity of the instance.

Definition at line 302 of file SimdItem.h.

◆ SimdItemEnumeratorT< ItemType >

template<typename ItemType>
friend class SimdItemEnumeratorT< ItemType >
friend

Definition at line 259 of file SimdItem.h.


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