14#include "arcane/core/ItemVector.h"
17#include "arcane/utils/FatalErrorException.h"
19#include "arcane/core/IItemFamily.h"
39: m_local_ids(_getAllocator())
50: m_local_ids(_getAllocator())
54 m_local_ids.resize(local_ids.
size());
63: m_local_ids(_getAllocator())
66 m_local_ids.resize(asize);
75: m_local_ids(_getAllocator())
87 m_shared_info = info_view.m_item_shared_info;
90 m_shared_info = ItemSharedInfo::nullInstance();
Memory and allocator management functions.
constexpr Integer size() const noexcept
Number of elements in the array.
Interface of an entity family.
Interface for a memory allocator.
View of a list to obtain information about entities.
View on a typed array of entities.
ItemVector()
Creates a null vector. You must then call setFamily() to use it.
void setFamily(IItemFamily *afamily)
Sets the associated family.
View of an array of elements of type T.
IMemoryAllocator * getDefaultDataAllocator()
Default allocator for data.
void copy(MutableMemoryView destination, eMemoryResource destination_mem, ConstMemoryView source, eMemoryResource source_mem, const RunQueue *queue=nullptr)
Copies source to destination using the queue queue.
-- tab-width: 2; indent-tabs-mode: nil; coding: utf-8-with-signature --
Int32 Integer
Type representing an integer.
ConstArrayView< Int32 > Int32ConstArrayView
C equivalent of a 1D array of 32-bit integers.