12#ifndef ARCANE_CORE_EXPR_LITTERALEXPRESSIONIMPL_H
13#define ARCANE_CORE_EXPR_LITTERALEXPRESSIONIMPL_H
17#include "arcane/core/datatype/ScalarVariant.h"
19#include "arcane/expr/ExpressionImpl.h"
20#include "arcane/expr/Expression.h"
21#include "arcane/expr/ExpressionResult.h"
40class LitteralExpressionImpl
41:
public ExpressionImpl
88 res->allocate(a.type());
92 res->
data()->value(res_val);
96 Integer size = res->data()->size();
97 for (
Integer i = 0; i < size; ++i)
Modifiable view of an array of type T.
constexpr const_pointer data() const noexcept
Pointer to the start of the view.
Polymorphic base type of an expression.
Interface for the different implementations of an expression.
virtual Integer vectorSize() const
Number of elements in the vector.
Generic cast operator for literals.
Polymorphic base type for scalars (dimension 0).
-- tab-width: 2; indent-tabs-mode: nil; coding: utf-8-with-signature --
Int32 Integer
Type representing an integer.
ConstArrayView< Integer > IntegerConstArrayView
C equivalent of a 1D array of integers.