Arcane  4.1.12.0
User documentation
Loading...
Searching...
No Matches
Arcane::ItemGenericInfoListView Class Reference

View of the generic information of an entity family. More...

#include <arcane/core/ItemGenericInfoListView.h>

Public Member Functions

 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.

Friends

class ItemInfoListView

Detailed Description

View of the generic information of an entity family.

Like all views, instances of this class are temporary and should not be kept when the associated family is modified.

Definition at line 40 of file ItemGenericInfoListView.h.

Constructor & Destructor Documentation

◆ ItemGenericInfoListView() [1/2]

Arcane::ItemGenericInfoListView::ItemGenericInfoListView ( IItemFamily * family)
explicit

Constructs a view associated with the family family.

family may be nullptr in which case the instance is not usable for retrieving information about entities

Definition at line 42 of file ItemGenericInfoListView.cc.

◆ ItemGenericInfoListView() [2/2]

Arcane::ItemGenericInfoListView::ItemGenericInfoListView ( const ItemInfoListView & info_list_view)
explicit

Definition at line 51 of file ItemGenericInfoListView.cc.

Member Function Documentation

◆ isOwn() [1/2]

__host__ __device__ bool Arcane::ItemGenericInfoListView::isOwn ( Int32 local_id) const
inlineconstexpr

Indicates if the entity with local ID local_id belongs to the subdomain.

Definition at line 88 of file ItemGenericInfoListView.h.

◆ isOwn() [2/2]

__host__ __device__ bool Arcane::ItemGenericInfoListView::isOwn ( ItemLocalId local_id) const
inlineconstexpr

Indicates if the entity with local ID local_id belongs to the subdomain.

Definition at line 94 of file ItemGenericInfoListView.h.

◆ isShared() [1/2]

__host__ __device__ bool Arcane::ItemGenericInfoListView::isShared ( Int32 local_id) const
inlineconstexpr

Indicates if the entity with local ID local_id is shared by other subdomains.

Definition at line 100 of file ItemGenericInfoListView.h.

◆ isShared() [2/2]

__host__ __device__ bool Arcane::ItemGenericInfoListView::isShared ( ItemLocalId local_id) const
inlineconstexpr

Indicates if the entity with local ID local_id is shared by other subdomains.

Definition at line 106 of file ItemGenericInfoListView.h.

◆ itemFamily()

IItemFamily * Arcane::ItemGenericInfoListView::itemFamily ( ) const
inline

Associated family.

Definition at line 61 of file ItemGenericInfoListView.h.

◆ owner() [1/2]

__host__ __device__ Int32 Arcane::ItemGenericInfoListView::owner ( Int32 local_id) const
inlineconstexpr

Owner of the entity with local ID local_id.

Definition at line 64 of file ItemGenericInfoListView.h.

◆ owner() [2/2]

__host__ __device__ Int32 Arcane::ItemGenericInfoListView::owner ( ItemLocalId local_id) const
inlineconstexpr

Owner of the entity with local ID local_id.

Definition at line 67 of file ItemGenericInfoListView.h.

◆ typeId() [1/2]

__host__ __device__ Int16 Arcane::ItemGenericInfoListView::typeId ( Int32 local_id) const
inlineconstexpr

Type of the entity with local ID local_id.

Definition at line 70 of file ItemGenericInfoListView.h.

◆ typeId() [2/2]

__host__ __device__ Int16 Arcane::ItemGenericInfoListView::typeId ( ItemLocalId local_id) const
inlineconstexpr

Type of the entity with local ID local_id.

Definition at line 73 of file ItemGenericInfoListView.h.

◆ uniqueId() [1/2]

__host__ __device__ ItemUniqueId Arcane::ItemGenericInfoListView::uniqueId ( Int32 local_id) const
inline

uniqueId() of the entity with local ID local_id

Definition at line 76 of file ItemGenericInfoListView.h.

◆ uniqueId() [2/2]

__host__ __device__ ItemUniqueId Arcane::ItemGenericInfoListView::uniqueId ( ItemLocalId local_id) const
inline

uniqueId() of the entity with local ID local_id

Definition at line 82 of file ItemGenericInfoListView.h.

◆ ItemInfoListView

friend class ItemInfoListView
friend

Definition at line 42 of file ItemGenericInfoListView.h.


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