12#ifndef ARCANE_CORE_INTERNAL_IVARIABLEINTERNAL_H
13#define ARCANE_CORE_INTERNAL_IVARIABLEINTERNAL_H
17#include "arcane/ArcaneTypes.h"
29class VariableResizeArgs
33 explicit VariableResizeArgs(
Int32 new_size)
34 : m_new_size(new_size)
38 explicit VariableResizeArgs(
Int32 new_size,
Int32 additional_capacity)
39 : m_new_size(new_size)
40 , m_additional_capacity(additional_capacity)
44 explicit VariableResizeArgs(
Int32 new_size,
Int32 additional_capacity,
bool use_no_init)
45 : m_new_size(new_size)
46 , m_additional_capacity(additional_capacity)
47 , m_is_use_no_init(use_no_init)
51 Int32 newSize()
const {
return m_new_size; }
52 Int32 nbAdditionalCapacity()
const {
return m_additional_capacity; }
53 bool isUseNoInit()
const {
return m_is_use_no_init; }
58 Int32 m_additional_capacity = 0;
59 bool m_is_use_no_init =
false;
91 IData* sorted_data) = 0;
Interface d'un algorithme de hashage.
Partie interne de Ivariable.
virtual String computeComparisonHashCollective(IHashAlgorithm *hash_algo, IData *sorted_data)=0
Calcule de Hash de comparaison pour la variable.
virtual void resize(const VariableResizeArgs &resize_args)=0
Redimensionne la variable en ajoutant une capacité additionnelle.
virtual void changeAllocator(const MemoryAllocationOptions &alloc_info)=0
Change l'allocateur de la variable.
Options pour configurer les allocations.
Chaîne de caractères unicode.
Arguments pour redimensionner une variable.
-*- tab-width: 2; indent-tabs-mode: nil; coding: utf-8-with-signature -*-
std::int32_t Int32
Type entier signé sur 32 bits.