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

Base class for specialized views of entity information. More...

#include <arcane/core/ItemInfoListView.h>

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

Public Member Functions

 ItemInfoListViewT (IItemFamily *family)
 Constructs a view associated with the family family.
ItemType operator[] (ItemLocalId local_id) const
 Entity associated with local ID local_id.
ItemType operator[] (Int32 local_id) const
 Entity associated with local ID local_id.
Public Member Functions inherited from Arcane::ItemInfoListView
 ItemInfoListView (IItemFamily *family)
 Constructs a view associated with the family family.
IItemFamilyitemFamily () const
 Associated family.
Item operator[] (ItemLocalId local_id) const
 Entity associated with local ID local_id.
Item operator[] (Int32 local_id) const
 Entity associated with local ID local_id.
Public Member Functions inherited from Arcane::ItemGenericInfoListView
 ItemGenericInfoListView (IItemFamily *family)
 Constructs a view associated with the family family.
 ItemGenericInfoListView (const ItemInfoListView &info_list_view)
IItemFamilyitemFamily () const
 Associated family.
constexpr __host__ __device__ Int32 owner (Int32 local_id) const
 Owner of the entity with local ID local_id.
constexpr __host__ __device__ Int32 owner (ItemLocalId local_id) const
 Owner of the entity with local ID local_id.
constexpr __host__ __device__ Int16 typeId (Int32 local_id) const
 Type of the entity with local ID local_id.
constexpr __host__ __device__ Int16 typeId (ItemLocalId local_id) const
 Type of the entity with local ID local_id.
__host__ __device__ ItemUniqueId uniqueId (Int32 local_id) const
 uniqueId() of the entity with local ID local_id
__host__ __device__ ItemUniqueId uniqueId (ItemLocalId local_id) const
 uniqueId() of the entity with local ID local_id
constexpr __host__ __device__ bool isOwn (Int32 local_id) const
 Indicates if the entity with local ID local_id belongs to the subdomain.
constexpr __host__ __device__ bool isOwn (ItemLocalId local_id) const
 Indicates if the entity with local ID local_id belongs to the subdomain.
constexpr __host__ __device__ bool isShared (Int32 local_id) const
 Indicates if the entity with local ID local_id is shared by other subdomains.
constexpr __host__ __device__ bool isShared (ItemLocalId local_id) const
 Indicates if the entity with local ID local_id is shared by other subdomains.

Additional Inherited Members

Protected Member Functions inherited from Arcane::ItemInfoListView
void _checkValid (eItemKind expected_kind)
 Checks that the entity kind matches the expected one.

Detailed Description

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

Base class for specialized views of entity information.

Definition at line 100 of file ItemInfoListView.h.

Constructor & Destructor Documentation

◆ ItemInfoListViewT()

template<typename ItemType>
Arcane::ItemInfoListViewT< ItemType >::ItemInfoListViewT ( IItemFamily * family)
inlineexplicit

Constructs a view associated with the family family.

Definition at line 108 of file ItemInfoListView.h.

Member Function Documentation

◆ operator[]() [1/2]

template<typename ItemType>
ItemType Arcane::ItemInfoListViewT< ItemType >::operator[] ( Int32 local_id) const
inline

Entity associated with local ID local_id.

Definition at line 1895 of file Item.h.

◆ operator[]() [2/2]

template<typename ItemType>
ItemType Arcane::ItemInfoListViewT< ItemType >::operator[] ( ItemLocalId local_id) const
inline

Entity associated with local ID local_id.

Definition at line 1886 of file Item.h.


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