14#include "arccore/serialize/BasicSerializer.h"
Types and functions associated with the classes SpanImpl, SmallSpan and Span.
File containing definitions of basic data types managed by Arccore.
Management of references to a C++ class.
Basic implementation of 'ISerializer'.
virtual void reserve(eBasicDataType dt, Int64 n)=0
Reserves memory for n objects of type dt.
@ DT_BFloat16
'brain float' data type
@ DT_Float32
32-bit floating point data type
@ DT_Int64
64-bit integer data type
@ DT_Int32
32-bit integer data type
@ DT_Float16
16-bit floating point data type
@ DT_Int8
8-bit integer data type
@ DT_Int16
16-bit integer data type
virtual void put(Span< const Real > values)=0
Add the array values.
virtual void putSpan(Span< const Real > values)
Add the array values.
virtual void getSpan(Span< Real > values)
Retrieve the array values.
virtual void get(ArrayView< Real > values)=0
Retrieve the array values.
virtual void reserveSpan(eBasicDataType dt, Int64 n)=0
Reserves memory for n values of dt.
Reference to an instance.
constexpr view_type smallView()
Constant view of this view.
constexpr __host__ __device__ SizeType size() const noexcept
Returns the size of the array.
View of an array of elements of type T.
-- tab-width: 2; indent-tabs-mode: nil; coding: utf-8-with-signature --
std::int64_t Int64
Signed integer type of 64 bits.
@ Int128
128-bit integer data type
@ Float128
Float128 data type.
ARCCORE_SERIALIZE_EXPORT Ref< ISerializer > createSerializer()
Creates an instance of ISerializer.
auto makeRef(InstanceType *t) -> Ref< InstanceType >
Creates a reference on a pointer.