14#include "arcane/utils/NumArrayUtils.h"
15#include "arcane/utils/NumArray.h"
16#include "arcane/utils/IOException.h"
18#include "arcane/utils/internal/ValueConvertInternal.h"
33 template <
typename DataType>
void
37 if (builtInGetArrayValueFromStream(v, input))
50extern "C++" ARCANE_UTILS_EXPORT
void
53 _readFromText(v, input);
57extern "C++" ARCANE_UTILS_EXPORT
void
60 _readFromText(v, input);
64extern "C++" ARCANE_UTILS_EXPORT
void
67 _readFromText(v, input);
#define ARCANE_THROW(exception_class,...)
Macro for throwing an exception with formatting.
Integer size() const
Number of elements in the vector.
const T * data() const
Access to the root of the array without any protection.
Exception when an input/output error is detected.
Base class for multi-dimensional views.
Multi-dimensional arrays for numerical types accessible on accelerators.
void copy(SmallSpan< const DataType > rhs)
Copies the values from rhs into the instance.
void resize(Int32 dim1_size)
Resizes the array without keeping current values.
1D data vector with value semantics (STL style).
Utility functions for NumArray.
void readFromText(NumArray< double, MDDim1 > &v, std::istream &input)
Fills v with the values from input.