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 envoyant une exception FatalErrorException.
#define ARCCORE_THROW(exception_class,...)
Macro pour envoyer une exception avec formattage.
Types et fonctions associés aux classes Span2Impl, Small2Span et Span2.
Types et fonctions associés aux classes SpanImpl, SmallSpan et Span.
Types et fonctions associés aux classes Array2View et ConstArray2View.
Types et fonctions associés aux classes Array3View et ConstArray3View.
Types et fonctions associés aux classes Array4View et ConstArray4View.
Types et fonctions associés aux classes ArrayView et ConstArrayView.
Exception lorsqu'un argument est invalide.
Vue d'un tableau d'éléments de type T.
-- tab-width: 2; indent-tabs-mode: nil; coding: utf-8-with-signature --
std::int64_t Int64
Type entier signé sur 64 bits.
void binaryRead(std::istream &istr, const Span< std::byte > &bytes)
Lit en binaire le contenu de bytes depuis le flot istr.
void binaryWrite(std::ostream &ostr, const Span< const std::byte > &bytes)
Ecrit en binaire le contenu de bytes sur le flot ostr.