15#include "arccore/base/ArgumentException.h"
16#include "arccore/base/TraceInfo.h"
17#include "arccore/base/FatalErrorException.h"
71ARCCORE_BASE_EXPORT
void impl::
72arccoreThrowTooBigInteger [[noreturn]] (std::size_t size)
78ARCCORE_BASE_EXPORT
void impl::
79arccoreThrowTooBigInt64 [[noreturn]] (std::size_t size)
84ARCCORE_BASE_EXPORT
void impl::
85arccoreThrowNegativeSize [[noreturn]] (
Int64 size)
95 auto* ptr =
reinterpret_cast<const char*
>(bytes.data());
96 ostr.write(ptr, bytes.size());
104 auto* ptr =
reinterpret_cast<char*
>(bytes.data());
105 istr.read(ptr, bytes.size());
111void Impl::ExtentStorageBase::
112_throwBadSize(Int64 wanted_size, Int64 expected_size)
114 ARCCORE_FATAL(
"Bad size value for fixed extent size={0} expected={1}", wanted_size, expected_size);
#define ARCCORE_FATAL(...)
Macro throwing a FatalErrorException.
#define ARCCORE_THROW(exception_class,...)
Macro to throw an exception with formatting.
Types and functions associated with the classes Span2Impl, Small2Span and Span2.
Types and functions associated with the classes SpanImpl, SmallSpan and Span.
Types and functions associated with the classes Array2View and ConstArray2View.
Types and functions associated with the classes Array3View and ConstArray3View.
Types and functions associated with the classes Array4View and ConstArray4View.
Types and functions associated with the classes ArrayView and ConstArrayView.
Exception when an argument is invalid.
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.
void binaryRead(std::istream &istr, const Span< std::byte > &bytes)
Reads the content of bytes from the stream istr in binary format.
void binaryWrite(std::ostream &ostr, const Span< const std::byte > &bytes)
Writes the content of bytes to the stream ostr in binary format.