12#ifndef ARCANE_CORE_VARIABLEREFARRAY_H
13#define ARCANE_CORE_VARIABLEREFARRAY_H
17#include "arcane/core/VariableRef.h"
87 virtual bool isArrayVariable()
const {
return true; }
98 ARCCORE_DEPRECATED_2021(
"This method is internal to Arcane")
99 LockType ARCANE_CORE_EXPORT lock();
110 ARCCORE_DEPRECATED_2021(
"Use _internalTrueData() instead.")
125 PrivatePartType* m_private_part;
constexpr ArrayView() noexcept
Constructs an empty view.
const value_type & const_reference
Constant reference type of an array element.
value_type & reference
Reference type of an array element.
constexpr Integer size() const noexcept
Returns the size of the array.
Base class for 1D data vectors.
Constant view of an array of type T.
Interface for an array data of type T.
Implementation of a variable on a 1D array.
Parameters necessary for building a variable.
Variable factory registrar.
Information characterizing a variable.
Lock on an array variable.
IArrayDataInternalT< DataType > * _internalTrueData()
void updateFromInternal() override
Updates from the internal part.
VariableRefArrayT(const VariableRefArrayT< DataType > &rhs)
Constructs a reference from rhs.
Integer arraySize() const override
If the variable is an array, returns its dimension, otherwise returns 0.
ContainerType & internalContainer()
VariableRefArrayT(IVariable *var)
Constructs a reference from var.
DataType ElementType
Type of the variable elements.
VariableRefArrayT(const VariableBuildInfo &vb)
Constructs a reference to a 1D array variable specified in vb.
virtual void resizeWithReserve(Integer new_size, Integer nb_additional)
Resizes the array to contain new_size elements.
ArrayView< DataType > ArrayBase
Type of the array allowing access to the variable.
~VariableRefArrayT() override
Frees resources.
virtual void resize(Integer new_size)
Resizes the array to contain new_size elements.
Array< DataType > ContainerType
Type of the class managing the variable value.
VariableRef BaseClass
Type of the base class.
void refersTo(const VariableRefArrayT< DataType > &rhs)
Positions the instance's reference to the variable rhs.
VariableRef(const VariableBuildInfo &vbi)
Constructs a reference to a variable with the infos vbi.
Information characterizing the type of a variable.
-- tab-width: 2; indent-tabs-mode: nil; coding: utf-8-with-signature --
Int32 Integer
Type representing an integer.