Class to convert an ItemLocalId to an entity (Item). More...
#include <arcane/core/ItemLocalId.h>
Public Member Functions | |
| ItemLocalIdToItemConverter (IItemFamily *family) | |
| ItemLocalIdToItemConverter ()=default | |
| Default constructor. | |
| constexpr __host__ __device__ Item | operator[] (ItemLocalId local_id) const |
| Entity of local ID local_id. | |
| constexpr __host__ __device__ Item | operator[] (Int32 local_id) const |
| Entity of local ID local_id. | |
Friends | |
| template<typename ItemType_> | |
| class | ItemLocalIdToItemConverterT |
Class to convert an ItemLocalId to an entity (Item).
Instances of this class remain valid throughout the lifetime of the associated family.
Definition at line 137 of file ItemLocalId.h.
|
explicit |
Definition at line 27 of file ItemLocalId.cc.
|
default |
Default constructor.
The instance will not be valid until it has been copied from a valid instance (using the constructor that takes an IItemFamily as an argument).
References operator[]().
|
inlineconstexpr |
Entity of local ID local_id.
Definition at line 1904 of file Item.h.
Referenced by ItemLocalIdToItemConverter().
|
friend |
Definition at line 139 of file ItemLocalId.h.