14#include "arcane/core/ItemVector.h"
17#include "arcane/utils/FatalErrorException.h"
19#include "arcane/core/IItemFamily.h"
28IMemoryAllocator* _getAllocator()
30 return MemoryUtils::getDefaultDataAllocator();
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();
Fonctions de gestion mémoire et des allocateurs.
constexpr Integer size() const noexcept
Nombre d'éléments du tableau.
Interface d'une famille d'entités.
Vue sur une liste pour obtenir des informations sur les entités.
Vue sur un tableau typé d'entités.
ItemVector()
Créé un vecteur nul. Il faudra ensuite appeler setFamily() pour l'utiliser.
void setFamily(IItemFamily *afamily)
Positionne la famille associée.
Vue d'un tableau d'éléments de type T.
-*- tab-width: 2; indent-tabs-mode: nil; coding: utf-8-with-signature -*-
Int32 Integer
Type représentant un entier.
ConstArrayView< Int32 > Int32ConstArrayView
Equivalent C d'un tableau à une dimension d'entiers 32 bits.