Arcane  4.1.12.0
Developer documentation
Loading...
Searching...
No Matches
Arcane::ISerializer Class Referenceabstract

Serializer interface. More...

#include </__w/arcaneframework.github.io/arcaneframework.github.io/framework/arccore/src/serialize/arccore/serialize/ISerializer.h>

Inheritance diagram for Arcane::ISerializer:
Collaboration diagram for Arcane::ISerializer:

Public Types

enum  eMode { ModeReserve , ModePut , ModeGet }
 Serializer operating mode. More...
enum  eReadMode { ReadReplace , ReadAdd }
 Serializer read mode. More...
enum  eDataType {
  DT_Byte = 0 , DT_Real = 1 , DT_Int16 = 2 , DT_Int32 = 3 ,
  DT_Int64 = 4 , DT_Float32 = 12 , DT_Float16 = 11 , DT_BFloat16 = 10 ,
  DT_Int8 = 13 , DT_Float128 = 14 , DT_Int128 = 15 , DT_Float64 = DT_Real
}

Public Member Functions

virtual ~ISerializer ()=default
 Frees resources.
virtual void reserveSpan (eBasicDataType dt, Int64 n)=0
 Reserves memory for n values of dt.
virtual void reserveSpan (Span< const Real > values)
 Reserve for a view of values elements.
virtual void reserveSpan (Span< const Int16 > values)
 Reserve for a view of values elements.
virtual void reserveSpan (Span< const Int32 > values)
 Reserve for a view of values elements.
virtual void reserveSpan (Span< const Int64 > values)
 Reserve for a view of values elements.
virtual void reserveSpan (Span< const Byte > values)
 Reserve for a view of values elements.
virtual void reserveSpan (Span< const Int8 > values)
 Reserve for a view of values elements.
virtual void reserveSpan (Span< const Float16 > values)
 Reserve for a view of values elements.
virtual void reserveSpan (Span< const BFloat16 > values)
 Reserve for a view of values elements.
virtual void reserveSpan (Span< const Float32 > values)
 Reserve for a view of values elements.
virtual void reserveSpan (Span< const Float128 > values)
 Reserve for a view of values elements.
virtual void reserveSpan (Span< const Int128 > values)
 Reserve for a view of values elements.
virtual void reserveArray (Span< const Real > values)=0
 Reserve to save the number of elements and the values elements.
virtual void reserveArray (Span< const Int16 > values)=0
 Reserve to save the number of elements and the values elements.
virtual void reserveArray (Span< const Int32 > values)=0
 Reserve to save the number of elements and the values elements.
virtual void reserveArray (Span< const Int64 > values)=0
 Reserve to save the number of elements and the values elements.
virtual void reserveArray (Span< const Byte > values)=0
 Reserve to save the number of elements and the values elements.
virtual void reserveArray (Span< const Int8 > values)=0
 Reserve to save the number of elements and the values elements.
virtual void reserveArray (Span< const Float16 > values)=0
 Reserve to save the number of elements and the values elements.
virtual void reserveArray (Span< const Float32 > values)=0
 Reserve to save the number of elements and the values elements.
virtual void reserveArray (Span< const BFloat16 > values)=0
 Reserve to save the number of elements and the values elements.
virtual void reserveArray (Span< const Float128 > values)=0
 Reserve to save the number of elements and the values elements.
virtual void reserveArray (Span< const Int128 > values)=0
 Reserve to save the number of elements and the values elements.
virtual void reserve (eBasicDataType dt, Int64 n)=0
 Reserves memory for n objects of type dt.
virtual void reserveInteger (Int64 n)=0
virtual void reserve (const String &str)=0
 Reserve memory for a character string str.
void reserveReal (Int64 n)
 Reserve for n Real.
void reserveInt16 (Int64 n)
 Reserve for n Int16.
void reserveInt64 (Int64 n)
 Reserve for n Int64.
void reserveInt32 (Int64 n)
 Reserve for n Int32.
void reserveByte (Int64 n)
 Reserve for n Byte.
void reserveInt8 (Int64 n)
 Reserve for n Int8.
void reserveFloat16 (Int64 n)
 Reserve for n Float16.
void reserveFloat32 (Int64 n)
 Reserve for n Float32.
void reserveBFloat16 (Int64 n)
 Reserve for n BFloat16.
void reserveFloat128 (Int64 n)
 Reserve for n Float128.
void reserveInt128 (Int64 n)
 Reserve for n Int128.
virtual void reserveSpan (eDataType dt, Int64 n)=0
 Reserves memory for n values of dt.
void reserveSpan (int dt, Int64 n)
virtual void reserve (eDataType dt, Int64 n)=0
 Reserves memory for n objects of type dt.
void reserve (int dt, Int64 n)
virtual void put (Span< const Real > values)=0
 Add the array values.
virtual void put (Span< const Int16 > values)=0
 Add the array values.
virtual void put (Span< const Int32 > values)=0
 Add the array values.
virtual void put (Span< const Int64 > values)=0
 Add the array values.
virtual void put (Span< const Byte > values)=0
 Add the array values.
virtual void put (const String &value)=0
 Add the string value.
virtual void putSpan (Span< const Real > values)
 Add the array values.
virtual void putSpan (Span< const Int16 > values)
 Add the array values.
virtual void putSpan (Span< const Int32 > values)
 Add the array values.
virtual void putSpan (Span< const Int64 > values)
 Add the array values.
virtual void putSpan (Span< const Byte > values)
 Add the array values.
virtual void putSpan (Span< const Int8 > values)=0
 Add the array values.
virtual void putSpan (Span< const Float16 > values)=0
 Add the array values.
virtual void putSpan (Span< const BFloat16 > values)=0
 Add the array values.
virtual void putSpan (Span< const Float32 > values)=0
 Add the array values.
virtual void putSpan (Span< const Float128 > values)=0
 Add the array values.
virtual void putSpan (Span< const Int128 > values)=0
 Add the array values.
virtual void putArray (Span< const Real > values)=0
 Save the number of elements and the values elements.
virtual void putArray (Span< const Int16 > values)=0
 Save the number of elements and the values elements.
virtual void putArray (Span< const Int32 > values)=0
 Save the number of elements and the values elements.
virtual void putArray (Span< const Int64 > values)=0
 Save the number of elements and the values elements.
virtual void putArray (Span< const Byte > values)=0
 Save the number of elements and the values elements.
virtual void putArray (Span< const Int8 > values)=0
 Save the number of elements and the values elements.
virtual void putArray (Span< const Float16 > values)=0
 Save the number of elements and the values elements.
virtual void putArray (Span< const BFloat16 > values)=0
 Save the number of elements and the values elements.
virtual void putArray (Span< const Float32 > values)=0
 Save the number of elements and the values elements.
virtual void putArray (Span< const Float128 > values)=0
 Save the number of elements and the values elements.
virtual void putArray (Span< const Int128 > values)=0
 Save the number of elements and the values elements.
virtual void put (Real value)=0
 Add value.
virtual void put (Int16 value)=0
 Add value.
virtual void put (Int32 value)=0
 Add value.
virtual void put (Int64 value)=0
 Add value.
virtual void put (Byte value)=0
 Add value.
virtual void put (Int8 value)=0
 Add value.
virtual void put (Float16 value)=0
 Add value.
virtual void put (BFloat16 value)=0
 Add value.
virtual void put (Float32 value)=0
 Add value.
virtual void put (Float128 value)=0
 Add value.
virtual void put (Int128 value)=0
 Add value.
virtual void putReal (Real value)=0
 Add the real value.
virtual void putInt16 (Int16 value)=0
 Add the integer value.
virtual void putInt32 (Int32 value)=0
 Add the integer value.
virtual void putInt64 (Int64 value)=0
 Add the integer value.
virtual void putInteger (Integer value)=0
 Add the integer value.
virtual void putByte (Byte value)=0
 Add the byte value.
virtual void putInt8 (Int8 value)=0
 Add value.
virtual void putFloat16 (Float16 value)=0
 Add value.
virtual void putBFloat16 (BFloat16 value)=0
 Add value.
virtual void putFloat32 (Float32 value)=0
 Add value.
virtual void putFloat128 (Float128 value)=0
 Add value.
virtual void putInt128 (Int128 value)=0
 Add value.
virtual void get (ArrayView< Real > values)=0
 Retrieve the array values.
virtual void get (ArrayView< Int16 > values)=0
 Retrieve the array values.
virtual void get (ArrayView< Int32 > values)=0
 Retrieve the array values.
virtual void get (ArrayView< Int64 > values)=0
 Retrieve the array values.
virtual void get (ArrayView< Byte > values)=0
 Retrieve the array values.
virtual void get (String &value)=0
 Retrieve the string value.
virtual void getSpan (Span< Real > values)
 Retrieve the array values.
virtual void getSpan (Span< Int16 > values)
 Retrieve the array values.
virtual void getSpan (Span< Int32 > values)
 Retrieve the array values.
virtual void getSpan (Span< Int64 > values)
 Retrieve the array values.
virtual void getSpan (Span< Byte > values)
 Retrieve the array values.
virtual void getSpan (Span< Int8 > values)=0
 Retrieve the array values.
virtual void getSpan (Span< Float16 > values)=0
 Retrieve the array values.
virtual void getSpan (Span< BFloat16 > values)=0
 Retrieve the array values.
virtual void getSpan (Span< Float32 > values)=0
 Retrieve the array values.
virtual void getSpan (Span< Float128 > values)=0
 Retrieve the array values.
virtual void getSpan (Span< Int128 > values)=0
 Retrieve the array values.
virtual void getArray (Array< Real > &values)=0
 Resize and fill values.
virtual void getArray (Array< Int16 > &values)=0
 Resize and fill values.
virtual void getArray (Array< Int32 > &values)=0
 Resize and fill values.
virtual void getArray (Array< Int64 > &values)=0
 Resize and fill values.
virtual void getArray (Array< Byte > &values)=0
 Resize and fill values.
virtual void getArray (Array< Int8 > &values)=0
 Resize and fill values.
virtual void getArray (Array< Float16 > &values)=0
 Resize and fill values.
virtual void getArray (Array< BFloat16 > &values)=0
 Resize and fill values.
virtual void getArray (Array< Float32 > &values)=0
 Resize and fill values.
virtual void getArray (Array< Float128 > &values)=0
 Resize and fill values.
virtual void getArray (Array< Int128 > &values)=0
 Resize and fill values.
virtual Real getReal ()=0
 Retrieve a real number.
virtual Int16 getInt16 ()=0
 Retrieve a 16-bit integer.
virtual Int32 getInt32 ()=0
 Retrieve an integer.
virtual Int64 getInt64 ()=0
 Retrieve a size.
virtual Integer getInteger ()=0
 Retrieve a size.
virtual Byte getByte ()=0
 Retrieve a byte.
virtual Int8 getInt8 ()=0
 Retrieve an Int8.
virtual Float16 getFloat16 ()=0
 Retrieve a Float16.
virtual BFloat16 getBFloat16 ()=0
 Retrieve a BFloat16.
virtual Float32 getFloat32 ()=0
 Retrieve a Float32.
virtual Float128 getFloat128 ()=0
 Retrieve a Float128.
virtual Int128 getInt128 ()=0
 Retrieve an Int128.
virtual void allocateBuffer ()=0
 Allocates the serializer memory.
virtual void allocateBuffer (Int64 nb_real, Int64 nb_int16, Int64 nb_int32, Int64 nb_int64, Int64 nb_byte)=0
virtual eMode mode () const =0
 Current operating mode.
virtual void setMode (eMode new_mode)=0
 Sets the current mode.
virtual eReadMode readMode () const =0
 Read mode.
virtual void setReadMode (eReadMode read_mode)=0
 Sets the read mode.
virtual void copy (const ISerializer *from)=0
 Copies the data from from into this instance.

Detailed Description

Serializer interface.

It is possible to create an instance of this class via the method createSerializer();

This interface manages a serializer to store and read a set of values. Serialization takes place in three phases:

  1. each object calls one or more of the methods reserve()/reserveSpan() to indicate how much memory it needs
  1. the memory is allocated by allocateBuffer()
  1. each object calls one or more of the methods put()/putSpan() to add its information to the serializer

Deserialization is done identically but uses the functions get()/getSpan(). The operation is similar to a queue: for every get()/getSpan(), a previous put()/putSpan() must correspond, and the get()/getSpan() and the put()/putSpan() must be in the same order.

It is possible to use overloads of reserve()/get()/put(). In this case, you must ensure consistency in their usage. For example, if you call reserveSpan(), you must then call putSpan() and getSpan().

Todo
add example.

Definition at line 58 of file arccore/src/serialize/arccore/serialize/ISerializer.h.

Member Enumeration Documentation

◆ eDataType

Enumerator
DT_Byte 

Byte data type.

DT_Real 

Real data type.

DT_Int16 

16-bit integer data type

DT_Int32 

32-bit integer data type

DT_Int64 

64-bit integer data type

DT_Float32 

32-bit floating point data type

DT_Float16 

16-bit floating point data type

DT_BFloat16 

'brain float' data type

DT_Int8 

8-bit integer data type

DT_Float128 

128-bit floating point data type

DT_Int128 

128-bit integer data type

Definition at line 77 of file arccore/src/serialize/arccore/serialize/ISerializer.h.

◆ eMode

Serializer operating mode.

Enumerator
ModePut 

The serializer expects reserve().

The serializer expects put()

ModeGet 

The serializer expects get().

Definition at line 63 of file arccore/src/serialize/arccore/serialize/ISerializer.h.

◆ eReadMode

Serializer read mode.

Enumerator
ReadReplace 

Replace current elements with those read.

ReadAdd 

Add those read to the current elements.

Definition at line 70 of file arccore/src/serialize/arccore/serialize/ISerializer.h.

Member Function Documentation

◆ allocateBuffer()

virtual void Arcane::ISerializer::allocateBuffer ( )
pure virtual

Allocates the serializer memory.

Implemented in Arcane::BasicSerializer, and Arccore::BasicSerializer.

References allocateBuffer().

Referenced by Arcane::mesh::FaceUniqueIdBuilder::_exchangeData(), Arcane::mesh::Parallel3EdgeUniqueIdBuilder::_exchangeData(), allocateBuffer(), Arcane::Parallel::VariableParallelOperationBase::applyOperation(), Arcane::mesh::ItemsExchangeInfo2::prepareToSend(), Arcane::mesh::DynamicMesh::serializeCells(), Arcane::ItemConnectivitySynchronizer::serializeGhostItems(), and Arcane::TransferValuesParallelOperation::transferValues().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ copy()

virtual void Arcane::ISerializer::copy ( const ISerializer * from)
pure virtual

Copies the data from from into this instance.

Implemented in Arcane::BasicSerializer, and Arccore::BasicSerializer.

References copy(), and Arcane::createSerializer().

Referenced by Arcane::SequentialParallelMng::allGather(), copy(), and Arcane::MessagePassing::SharedMemoryMessageRequest::copyFromSender().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ get() [1/6]

virtual void Arcane::ISerializer::get ( ArrayView< Byte > values)
pure virtual

Retrieve the array values.

Implemented in Arcane::BasicSerializer, and Arccore::BasicSerializer.

References get().

Here is the call graph for this function:

◆ get() [2/6]

virtual void Arcane::ISerializer::get ( ArrayView< Int16 > values)
pure virtual

Retrieve the array values.

Implemented in Arcane::BasicSerializer, and Arccore::BasicSerializer.

References get().

Here is the call graph for this function:

◆ get() [3/6]

virtual void Arcane::ISerializer::get ( ArrayView< Int32 > values)
pure virtual

Retrieve the array values.

Implemented in Arcane::BasicSerializer, and Arccore::BasicSerializer.

References get().

Here is the call graph for this function:

◆ get() [4/6]

virtual void Arcane::ISerializer::get ( ArrayView< Int64 > values)
pure virtual

Retrieve the array values.

Implemented in Arcane::BasicSerializer, and Arccore::BasicSerializer.

References get().

Here is the call graph for this function:

◆ get() [5/6]

virtual void Arcane::ISerializer::get ( ArrayView< Real > values)
pure virtual

Retrieve the array values.

Implemented in Arcane::BasicSerializer, and Arccore::BasicSerializer.

References get().

Referenced by Arcane::mesh::ItemFamilyVariableSerializer::_checkSerializationVariable(), get(), get(), get(), get(), get(), get(), getSpan(), getSpan(), getSpan(), getSpan(), getSpan(), Arcane::Materials::ItemMaterialVariableArray< DataType >::serialize(), Arcane::PropertyMng::serialize(), Arcane::StringArrayData::serialize(), and Arcane::StringScalarData::serialize().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ get() [6/6]

virtual void Arcane::ISerializer::get ( String & value)
pure virtual

Retrieve the string value.

Implemented in Arcane::BasicSerializer, and Arccore::BasicSerializer.

References get(), and getSpan().

Here is the call graph for this function:

◆ getArray() [1/11]

virtual void Arcane::ISerializer::getArray ( Array< BFloat16 > & values)
pure virtual

Resize and fill values.

Implemented in Arcane::BasicSerializer, and Arccore::BasicSerializer.

References getArray().

Here is the call graph for this function:

◆ getArray() [2/11]

virtual void Arcane::ISerializer::getArray ( Array< Byte > & values)
pure virtual

Resize and fill values.

Implemented in Arcane::BasicSerializer, and Arccore::BasicSerializer.

References getArray().

Here is the call graph for this function:

◆ getArray() [3/11]

virtual void Arcane::ISerializer::getArray ( Array< Float128 > & values)
pure virtual

Resize and fill values.

Implemented in Arcane::BasicSerializer, and Arccore::BasicSerializer.

References getArray().

Here is the call graph for this function:

◆ getArray() [4/11]

virtual void Arcane::ISerializer::getArray ( Array< Float16 > & values)
pure virtual

Resize and fill values.

Implemented in Arcane::BasicSerializer, and Arccore::BasicSerializer.

References getArray().

Here is the call graph for this function:

◆ getArray() [5/11]

virtual void Arcane::ISerializer::getArray ( Array< Float32 > & values)
pure virtual

Resize and fill values.

Implemented in Arcane::BasicSerializer, and Arccore::BasicSerializer.

References getArray().

Here is the call graph for this function:

◆ getArray() [6/11]

virtual void Arcane::ISerializer::getArray ( Array< Int128 > & values)
pure virtual

Resize and fill values.

Implemented in Arcane::BasicSerializer, and Arccore::BasicSerializer.

References getArray().

Here is the call graph for this function:

◆ getArray() [7/11]

virtual void Arcane::ISerializer::getArray ( Array< Int16 > & values)
pure virtual

Resize and fill values.

Implemented in Arcane::BasicSerializer, and Arccore::BasicSerializer.

References getArray().

Here is the call graph for this function:

◆ getArray() [8/11]

virtual void Arcane::ISerializer::getArray ( Array< Int32 > & values)
pure virtual

Resize and fill values.

Implemented in Arcane::BasicSerializer, and Arccore::BasicSerializer.

References getArray().

Here is the call graph for this function:

◆ getArray() [9/11]

virtual void Arcane::ISerializer::getArray ( Array< Int64 > & values)
pure virtual

Resize and fill values.

Implemented in Arcane::BasicSerializer, and Arccore::BasicSerializer.

References getArray().

Here is the call graph for this function:

◆ getArray() [10/11]

virtual void Arcane::ISerializer::getArray ( Array< Int8 > & values)
pure virtual

Resize and fill values.

Implemented in Arcane::BasicSerializer, and Arccore::BasicSerializer.

References getArray().

Here is the call graph for this function:

◆ getArray() [11/11]

virtual void Arcane::ISerializer::getArray ( Array< Real > & values)
pure virtual

Resize and fill values.

Implemented in Arcane::BasicSerializer, and Arccore::BasicSerializer.

References getArray().

Referenced by Arcane::mesh::GhostLayerBuilder::addGhostChildFromParent(), getArray(), getArray(), getArray(), getArray(), getArray(), getArray(), getArray(), getArray(), getArray(), getArray(), and getArray().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ getBFloat16()

virtual BFloat16 Arcane::ISerializer::getBFloat16 ( )
pure virtual

Retrieve a BFloat16.

Implemented in Arcane::BasicSerializer, and Arccore::BasicSerializer.

References getBFloat16().

Referenced by getBFloat16().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ getByte()

virtual Byte Arcane::ISerializer::getByte ( )
pure virtual

Retrieve a byte.

Implemented in Arcane::BasicSerializer, and Arccore::BasicSerializer.

References getByte().

Referenced by getByte().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ getFloat128()

virtual Float128 Arcane::ISerializer::getFloat128 ( )
pure virtual

Retrieve a Float128.

Implemented in Arcane::BasicSerializer, and Arccore::BasicSerializer.

References getFloat128().

Referenced by getFloat128().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ getFloat16()

virtual Float16 Arcane::ISerializer::getFloat16 ( )
pure virtual

Retrieve a Float16.

Implemented in Arcane::BasicSerializer, and Arccore::BasicSerializer.

References getFloat16().

Referenced by getFloat16().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ getFloat32()

virtual Float32 Arcane::ISerializer::getFloat32 ( )
pure virtual

Retrieve a Float32.

Implemented in Arcane::BasicSerializer, and Arccore::BasicSerializer.

References getFloat32().

Referenced by getFloat32().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ getInt128()

virtual Int128 Arcane::ISerializer::getInt128 ( )
pure virtual

Retrieve an Int128.

Implemented in Arcane::BasicSerializer, and Arccore::BasicSerializer.

References getInt128().

Referenced by getInt128().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ getInt16()

virtual Int16 Arcane::ISerializer::getInt16 ( )
pure virtual

Retrieve a 16-bit integer.

Implemented in Arcane::BasicSerializer, and Arccore::BasicSerializer.

References getInt16().

Referenced by getInt16().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ getInt32()

virtual Int32 Arcane::ISerializer::getInt32 ( )
pure virtual

Retrieve an integer.

Implemented in Arcane::BasicSerializer, and Arccore::BasicSerializer.

References getInt32().

Referenced by getInt32(), and Arcane::PropertyMng::serialize().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ getInt64()

◆ getInt8()

virtual Int8 Arcane::ISerializer::getInt8 ( )
pure virtual

Retrieve an Int8.

Implemented in Arcane::BasicSerializer, and Arccore::BasicSerializer.

References getInt8().

Referenced by getInt8().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ getInteger()

virtual Integer Arcane::ISerializer::getInteger ( )
pure virtual

Retrieve a size.

Implemented in Arcane::BasicSerializer, and Arccore::BasicSerializer.

References getInteger().

Referenced by Arcane::mesh::ItemFamilyVariableSerializer::_checkSerialization(), getInteger(), Arcane::mesh::ItemsExchangeInfo2::readGroups(), Arcane::StringArrayData::serialize(), and Arcane::TransferValuesParallelOperation::transferValues().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ getReal()

virtual Real Arcane::ISerializer::getReal ( )
pure virtual

Retrieve a real number.

Implemented in Arcane::BasicSerializer, and Arccore::BasicSerializer.

References getReal().

Referenced by getReal().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ getSpan() [1/11]

virtual void Arcane::ISerializer::getSpan ( Span< BFloat16 > values)
pure virtual

Retrieve the array values.

Implemented in Arcane::BasicSerializer, and Arccore::BasicSerializer.

References getSpan().

Here is the call graph for this function:

◆ getSpan() [2/11]

void Arcane::ISerializer::getSpan ( Span< Byte > values)
virtual

Retrieve the array values.

Reimplemented in Arcane::BasicSerializer, and Arccore::BasicSerializer.

Definition at line 155 of file SerializeGlobal.cc.

References get(), and Arcane::SpanImpl< T, SizeType, Extent >::smallView().

Here is the call graph for this function:

◆ getSpan() [3/11]

virtual void Arcane::ISerializer::getSpan ( Span< Float128 > values)
pure virtual

Retrieve the array values.

Implemented in Arcane::BasicSerializer, and Arccore::BasicSerializer.

References getSpan().

Here is the call graph for this function:

◆ getSpan() [4/11]

virtual void Arcane::ISerializer::getSpan ( Span< Float16 > values)
pure virtual

Retrieve the array values.

Implemented in Arcane::BasicSerializer, and Arccore::BasicSerializer.

References getSpan().

Here is the call graph for this function:

◆ getSpan() [5/11]

virtual void Arcane::ISerializer::getSpan ( Span< Float32 > values)
pure virtual

Retrieve the array values.

Implemented in Arcane::BasicSerializer, and Arccore::BasicSerializer.

References getSpan().

Here is the call graph for this function:

◆ getSpan() [6/11]

virtual void Arcane::ISerializer::getSpan ( Span< Int128 > values)
pure virtual

Retrieve the array values.

Implemented in Arcane::BasicSerializer, and Arccore::BasicSerializer.

References getSpan().

Here is the call graph for this function:

◆ getSpan() [7/11]

void Arcane::ISerializer::getSpan ( Span< Int16 > values)
virtual

Retrieve the array values.

Reimplemented in Arcane::BasicSerializer, and Arccore::BasicSerializer.

Definition at line 137 of file SerializeGlobal.cc.

References get(), and Arcane::SpanImpl< T, SizeType, Extent >::smallView().

Here is the call graph for this function:

◆ getSpan() [8/11]

void Arcane::ISerializer::getSpan ( Span< Int32 > values)
virtual

Retrieve the array values.

Reimplemented in Arcane::BasicSerializer, and Arccore::BasicSerializer.

Definition at line 143 of file SerializeGlobal.cc.

References get(), and Arcane::SpanImpl< T, SizeType, Extent >::smallView().

Here is the call graph for this function:

◆ getSpan() [9/11]

void Arcane::ISerializer::getSpan ( Span< Int64 > values)
virtual

Retrieve the array values.

Reimplemented in Arcane::BasicSerializer, and Arccore::BasicSerializer.

Definition at line 149 of file SerializeGlobal.cc.

References get(), and Arcane::SpanImpl< T, SizeType, Extent >::smallView().

Here is the call graph for this function:

◆ getSpan() [10/11]

virtual void Arcane::ISerializer::getSpan ( Span< Int8 > values)
pure virtual

Retrieve the array values.

Implemented in Arcane::BasicSerializer, and Arccore::BasicSerializer.

References getSpan().

Here is the call graph for this function:

◆ getSpan() [11/11]

void Arcane::ISerializer::getSpan ( Span< Real > values)
virtual

◆ mode()

virtual eMode Arcane::ISerializer::mode ( ) const
pure virtual

Current operating mode.

Implemented in Arcane::BasicSerializer, and Arccore::BasicSerializer.

References mode().

Referenced by Arcane::mesh::ItemFamilyVariableSerializer::_checkSerialization(), Arcane::mesh::ItemFamilyVariableSerializer::_checkSerializationVariable(), Arcane::SerializedData::_serialize(), Arcane::mesh::ItemFamilyVariableSerializer::_serializePartialVariable(), mode(), Arcane::Array2DataT< DataType >::serialize(), Arcane::Array2DataT< DataType >::serialize(), Arcane::ArrayDataT< DataType >::serialize(), Arcane::Materials::ItemMaterialVariableArray< DataType >::serialize(), Arcane::Materials::ItemMaterialVariableScalar< DataType >::serialize(), Arcane::mesh::ItemFamilyVariableSerializer::serialize(), Arcane::mesh::TiedInterfaceExchanger::serialize(), Arcane::NumArrayDataT< DataType, RankValue >::serialize(), Arcane::NumArrayDataT< DataType, RankValue >::serialize(), Arcane::PropertyMng::serialize(), Arcane::ScalarDataT< DataType >::serialize(), Arcane::SerializedData::serialize(), Arcane::StringArrayData::serialize(), Arcane::StringScalarData::serialize(), Arcane::Variable::serialize(), Arcane::Variable::serialize(), Arcane::VariablePrivate::serializeHashId(), Arcane::mesh::CellFamilySerializer::serializeItems(), Arcane::mesh::IndirectItemFamilySerializer::serializeItems(), and Arcane::mesh::ParticleFamilySerializer::serializeItems().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ put() [1/17]

virtual void Arcane::ISerializer::put ( BFloat16 value)
pure virtual

Add value.

Implemented in Arcane::BasicSerializer, and Arccore::BasicSerializer.

References put().

Here is the call graph for this function:

◆ put() [2/17]

virtual void Arcane::ISerializer::put ( Byte value)
pure virtual

Add value.

Implemented in Arcane::BasicSerializer, and Arccore::BasicSerializer.

References put().

Here is the call graph for this function:

◆ put() [3/17]

virtual void Arcane::ISerializer::put ( const String & value)
pure virtual

Add the string value.

Implemented in Arcane::BasicSerializer, and Arccore::BasicSerializer.

References put(), and putSpan().

Here is the call graph for this function:

◆ put() [4/17]

virtual void Arcane::ISerializer::put ( Float128 value)
pure virtual

Add value.

Implemented in Arcane::BasicSerializer, and Arccore::BasicSerializer.

References put().

Here is the call graph for this function:

◆ put() [5/17]

virtual void Arcane::ISerializer::put ( Float16 value)
pure virtual

Add value.

Implemented in Arcane::BasicSerializer, and Arccore::BasicSerializer.

References put().

Here is the call graph for this function:

◆ put() [6/17]

virtual void Arcane::ISerializer::put ( Float32 value)
pure virtual

Add value.

Implemented in Arcane::BasicSerializer, and Arccore::BasicSerializer.

References put().

Here is the call graph for this function:

◆ put() [7/17]

virtual void Arcane::ISerializer::put ( Int128 value)
pure virtual

Add value.

Implemented in Arcane::BasicSerializer, and Arccore::BasicSerializer.

References put().

Here is the call graph for this function:

◆ put() [8/17]

virtual void Arcane::ISerializer::put ( Int16 value)
pure virtual

Add value.

Implemented in Arcane::BasicSerializer, and Arccore::BasicSerializer.

References put().

Here is the call graph for this function:

◆ put() [9/17]

virtual void Arcane::ISerializer::put ( Int32 value)
pure virtual

Add value.

Implemented in Arcane::BasicSerializer, and Arccore::BasicSerializer.

References put().

Here is the call graph for this function:

◆ put() [10/17]

virtual void Arcane::ISerializer::put ( Int64 value)
pure virtual

Add value.

Implemented in Arcane::BasicSerializer, and Arccore::BasicSerializer.

References put().

Here is the call graph for this function:

◆ put() [11/17]

virtual void Arcane::ISerializer::put ( Int8 value)
pure virtual

Add value.

Implemented in Arcane::BasicSerializer, and Arccore::BasicSerializer.

References put().

Here is the call graph for this function:

◆ put() [12/17]

virtual void Arcane::ISerializer::put ( Real value)
pure virtual

Add value.

Implemented in Arcane::BasicSerializer, and Arccore::BasicSerializer.

References put().

Here is the call graph for this function:

◆ put() [13/17]

virtual void Arcane::ISerializer::put ( Span< const Byte > values)
pure virtual

Add the array values.

Implemented in Arcane::BasicSerializer, and Arccore::BasicSerializer.

References put().

Here is the call graph for this function:

◆ put() [14/17]

virtual void Arcane::ISerializer::put ( Span< const Int16 > values)
pure virtual

Add the array values.

Implemented in Arcane::BasicSerializer, and Arccore::BasicSerializer.

References put().

Here is the call graph for this function:

◆ put() [15/17]

virtual void Arcane::ISerializer::put ( Span< const Int32 > values)
pure virtual

Add the array values.

Implemented in Arcane::BasicSerializer, and Arccore::BasicSerializer.

References put().

Here is the call graph for this function:

◆ put() [16/17]

virtual void Arcane::ISerializer::put ( Span< const Int64 > values)
pure virtual

Add the array values.

Implemented in Arcane::BasicSerializer, and Arccore::BasicSerializer.

References put().

Here is the call graph for this function:

◆ put() [17/17]

virtual void Arcane::ISerializer::put ( Span< const Real > values)
pure virtual

Add the array values.

Implemented in Arcane::BasicSerializer, and Arccore::BasicSerializer.

References put().

Referenced by Arcane::mesh::ItemFamilyVariableSerializer::_checkSerialization(), Arcane::mesh::ItemFamilyVariableSerializer::_checkSerializationVariable(), Arcane::mesh::ItemsExchangeInfo2::prepareToSend(), put(), put(), put(), put(), put(), put(), put(), put(), put(), put(), put(), put(), put(), put(), put(), put(), put(), putSpan(), putSpan(), putSpan(), putSpan(), putSpan(), Arcane::Materials::ItemMaterialVariableArray< DataType >::serialize(), Arcane::PropertyMng::serialize(), Arcane::StringArrayData::serialize(), and Arcane::StringScalarData::serialize().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ putArray() [1/11]

virtual void Arcane::ISerializer::putArray ( Span< const BFloat16 > values)
pure virtual

Save the number of elements and the values elements.

Implemented in Arcane::BasicSerializer, and Arccore::BasicSerializer.

References putArray().

Here is the call graph for this function:

◆ putArray() [2/11]

virtual void Arcane::ISerializer::putArray ( Span< const Byte > values)
pure virtual

Save the number of elements and the values elements.

Implemented in Arcane::BasicSerializer, and Arccore::BasicSerializer.

References putArray().

Here is the call graph for this function:

◆ putArray() [3/11]

virtual void Arcane::ISerializer::putArray ( Span< const Float128 > values)
pure virtual

Save the number of elements and the values elements.

Implemented in Arcane::BasicSerializer, and Arccore::BasicSerializer.

References putArray().

Here is the call graph for this function:

◆ putArray() [4/11]

virtual void Arcane::ISerializer::putArray ( Span< const Float16 > values)
pure virtual

Save the number of elements and the values elements.

Implemented in Arcane::BasicSerializer, and Arccore::BasicSerializer.

References putArray().

Here is the call graph for this function:

◆ putArray() [5/11]

virtual void Arcane::ISerializer::putArray ( Span< const Float32 > values)
pure virtual

Save the number of elements and the values elements.

Implemented in Arcane::BasicSerializer, and Arccore::BasicSerializer.

References putArray().

Here is the call graph for this function:

◆ putArray() [6/11]

virtual void Arcane::ISerializer::putArray ( Span< const Int128 > values)
pure virtual

Save the number of elements and the values elements.

Implemented in Arcane::BasicSerializer, and Arccore::BasicSerializer.

References putArray().

Here is the call graph for this function:

◆ putArray() [7/11]

virtual void Arcane::ISerializer::putArray ( Span< const Int16 > values)
pure virtual

Save the number of elements and the values elements.

Implemented in Arcane::BasicSerializer, and Arccore::BasicSerializer.

References putArray().

Here is the call graph for this function:

◆ putArray() [8/11]

virtual void Arcane::ISerializer::putArray ( Span< const Int32 > values)
pure virtual

Save the number of elements and the values elements.

Implemented in Arcane::BasicSerializer, and Arccore::BasicSerializer.

References putArray().

Here is the call graph for this function:

◆ putArray() [9/11]

virtual void Arcane::ISerializer::putArray ( Span< const Int64 > values)
pure virtual

Save the number of elements and the values elements.

Implemented in Arcane::BasicSerializer, and Arccore::BasicSerializer.

References putArray().

Here is the call graph for this function:

◆ putArray() [10/11]

virtual void Arcane::ISerializer::putArray ( Span< const Int8 > values)
pure virtual

Save the number of elements and the values elements.

Implemented in Arcane::BasicSerializer, and Arccore::BasicSerializer.

References putArray().

Here is the call graph for this function:

◆ putArray() [11/11]

virtual void Arcane::ISerializer::putArray ( Span< const Real > values)
pure virtual

Save the number of elements and the values elements.

Implemented in Arcane::BasicSerializer, and Arccore::BasicSerializer.

References putArray().

Referenced by putArray(), putArray(), putArray(), putArray(), putArray(), putArray(), putArray(), putArray(), putArray(), putArray(), and putArray().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ putBFloat16()

virtual void Arcane::ISerializer::putBFloat16 ( BFloat16 value)
pure virtual

Add value.

Implemented in Arcane::BasicSerializer, and Arccore::BasicSerializer.

References putBFloat16().

Referenced by putBFloat16().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ putByte()

virtual void Arcane::ISerializer::putByte ( Byte value)
pure virtual

Add the byte value.

Implemented in Arcane::BasicSerializer, and Arccore::BasicSerializer.

References putByte().

Referenced by putByte().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ putFloat128()

virtual void Arcane::ISerializer::putFloat128 ( Float128 value)
pure virtual

Add value.

Implemented in Arcane::BasicSerializer, and Arccore::BasicSerializer.

References putFloat128().

Referenced by putFloat128().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ putFloat16()

virtual void Arcane::ISerializer::putFloat16 ( Float16 value)
pure virtual

Add value.

Implemented in Arcane::BasicSerializer, and Arccore::BasicSerializer.

References putFloat16().

Referenced by putFloat16().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ putFloat32()

virtual void Arcane::ISerializer::putFloat32 ( Float32 value)
pure virtual

Add value.

Implemented in Arcane::BasicSerializer, and Arccore::BasicSerializer.

References putFloat32().

Referenced by putFloat32().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ putInt128()

virtual void Arcane::ISerializer::putInt128 ( Int128 value)
pure virtual

Add value.

Implemented in Arcane::BasicSerializer, and Arccore::BasicSerializer.

References putInt128().

Referenced by putInt128().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ putInt16()

virtual void Arcane::ISerializer::putInt16 ( Int16 value)
pure virtual

Add the integer value.

Implemented in Arcane::BasicSerializer, and Arccore::BasicSerializer.

References putInt16().

Referenced by putInt16().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ putInt32()

virtual void Arcane::ISerializer::putInt32 ( Int32 value)
pure virtual

Add the integer value.

Implemented in Arcane::BasicSerializer, and Arccore::BasicSerializer.

References putInt32().

Referenced by Arcane::SerializedData::_serialize(), putInt32(), and Arcane::PropertyMng::serialize().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ putInt64()

◆ putInt8()

virtual void Arcane::ISerializer::putInt8 ( Int8 value)
pure virtual

Add value.

Implemented in Arcane::BasicSerializer, and Arccore::BasicSerializer.

References putInt8().

Referenced by putInt8().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ putInteger()

virtual void Arcane::ISerializer::putInteger ( Integer value)
pure virtual

Add the integer value.

Implemented in Arcane::BasicSerializer, and Arccore::BasicSerializer.

References putInteger().

Referenced by Arcane::SerializedData::_serialize(), putInteger(), Arcane::StringArrayData::serialize(), and Arcane::TransferValuesParallelOperation::transferValues().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ putReal()

virtual void Arcane::ISerializer::putReal ( Real value)
pure virtual

Add the real value.

Implemented in Arcane::BasicSerializer, and Arccore::BasicSerializer.

References putReal().

Referenced by putReal().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ putSpan() [1/11]

virtual void Arcane::ISerializer::putSpan ( Span< const BFloat16 > values)
pure virtual

Add the array values.

Implemented in Arcane::BasicSerializer, and Arccore::BasicSerializer.

References putSpan().

Here is the call graph for this function:

◆ putSpan() [2/11]

void Arcane::ISerializer::putSpan ( Span< const Byte > values)
virtual

Add the array values.

Reimplemented in Arcane::BasicSerializer, and Arccore::BasicSerializer.

Definition at line 53 of file SerializeGlobal.cc.

References put().

Here is the call graph for this function:

◆ putSpan() [3/11]

virtual void Arcane::ISerializer::putSpan ( Span< const Float128 > values)
pure virtual

Add the array values.

Implemented in Arcane::BasicSerializer, and Arccore::BasicSerializer.

References putSpan().

Here is the call graph for this function:

◆ putSpan() [4/11]

virtual void Arcane::ISerializer::putSpan ( Span< const Float16 > values)
pure virtual

Add the array values.

Implemented in Arcane::BasicSerializer, and Arccore::BasicSerializer.

References putSpan().

Here is the call graph for this function:

◆ putSpan() [5/11]

virtual void Arcane::ISerializer::putSpan ( Span< const Float32 > values)
pure virtual

Add the array values.

Implemented in Arcane::BasicSerializer, and Arccore::BasicSerializer.

References putSpan().

Here is the call graph for this function:

◆ putSpan() [6/11]

virtual void Arcane::ISerializer::putSpan ( Span< const Int128 > values)
pure virtual

Add the array values.

Implemented in Arcane::BasicSerializer, and Arccore::BasicSerializer.

References putSpan().

Here is the call graph for this function:

◆ putSpan() [7/11]

void Arcane::ISerializer::putSpan ( Span< const Int16 > values)
virtual

Add the array values.

Reimplemented in Arcane::BasicSerializer, and Arccore::BasicSerializer.

Definition at line 35 of file SerializeGlobal.cc.

References put().

Here is the call graph for this function:

◆ putSpan() [8/11]

void Arcane::ISerializer::putSpan ( Span< const Int32 > values)
virtual

Add the array values.

Reimplemented in Arcane::BasicSerializer, and Arccore::BasicSerializer.

Definition at line 41 of file SerializeGlobal.cc.

References put().

Here is the call graph for this function:

◆ putSpan() [9/11]

void Arcane::ISerializer::putSpan ( Span< const Int64 > values)
virtual

Add the array values.

Reimplemented in Arcane::BasicSerializer, and Arccore::BasicSerializer.

Definition at line 47 of file SerializeGlobal.cc.

References put().

Here is the call graph for this function:

◆ putSpan() [10/11]

virtual void Arcane::ISerializer::putSpan ( Span< const Int8 > values)
pure virtual

Add the array values.

Implemented in Arcane::BasicSerializer, and Arccore::BasicSerializer.

References putSpan().

Here is the call graph for this function:

◆ putSpan() [11/11]

void Arcane::ISerializer::putSpan ( Span< const Real > values)
virtual

Add the array values.

Reimplemented in Arcane::BasicSerializer, and Arccore::BasicSerializer.

Definition at line 29 of file SerializeGlobal.cc.

References put().

Referenced by Arcane::mesh::FaceUniqueIdBuilder::_exchangeData(), Arcane::mesh::Parallel3EdgeUniqueIdBuilder::_exchangeData(), Arcane::SerializedData::_serialize(), Arcane::mesh::ItemFamilyVariableSerializer::_serializePartialVariable(), Arcane::Parallel::VariableParallelOperationBase::applyOperation(), Arcane::mesh::ItemsExchangeInfo2::prepareToSend(), put(), putSpan(), putSpan(), putSpan(), putSpan(), putSpan(), putSpan(), Arcane::Array2DataT< DataType >::serialize(), Arcane::Array2DataT< DataType >::serialize(), Arcane::ArrayDataT< DataType >::serialize(), Arcane::Materials::ItemMaterialVariableArray< DataType >::serialize(), Arcane::Materials::ItemMaterialVariableScalar< DataType >::serialize(), Arcane::NumArrayDataT< DataType, RankValue >::serialize(), Arcane::NumArrayDataT< DataType, RankValue >::serialize(), Arcane::ScalarDataT< DataType >::serialize(), Arcane::ItemConnectivitySynchronizer::serializeGhostItems(), Arcane::VariablePrivate::serializeHashId(), Arcane::mesh::CellFamilySerializer::serializeItems(), Arcane::mesh::IndirectItemFamilySerializer::serializeItems(), and Arcane::mesh::ParticleFamilySerializer::serializeItems().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ readMode()

virtual eReadMode Arcane::ISerializer::readMode ( ) const
pure virtual

Read mode.

Implemented in Arcane::BasicSerializer, and Arccore::BasicSerializer.

References readMode().

Referenced by readMode(), Arcane::Array2DataT< DataType >::serialize(), Arcane::Array2DataT< DataType >::serialize(), Arcane::ArrayDataT< DataType >::serialize(), Arcane::NumArrayDataT< DataType, RankValue >::serialize(), Arcane::NumArrayDataT< DataType, RankValue >::serialize(), Arcane::SerializedData::serialize(), Arcane::StringArrayData::serialize(), and Arcane::StringScalarData::serialize().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ reserve() [1/4]

virtual void Arcane::ISerializer::reserve ( const String & str)
pure virtual

Reserve memory for a character string str.

Implemented in Arcane::BasicSerializer, and Arccore::BasicSerializer.

◆ reserve() [2/4]

virtual void Arcane::ISerializer::reserve ( eBasicDataType dt,
Int64 n )
pure virtual

Reserves memory for n objects of type dt.

n calls to a put() method with a single value must be made for the serialization to be correct.

If you want to serialize multiple values with a single call to put(), you must use the reserveSpan() method.

Implemented in Arcane::BasicSerializer, and Arccore::BasicSerializer.

Referenced by Arcane::mesh::ItemFamilyVariableSerializer::_checkSerializationVariable(), reserve(), reserve(), reserveBFloat16(), reserveByte(), reserveFloat128(), reserveFloat16(), reserveFloat32(), reserveInt128(), reserveInt16(), reserveInt32(), reserveInt64(), reserveInt8(), reserveReal(), Arcane::Materials::ItemMaterialVariableArray< DataType >::serialize(), Arcane::Materials::ItemMaterialVariableScalar< DataType >::serialize(), Arcane::PropertyMng::serialize(), Arcane::StringArrayData::serialize(), and Arcane::StringScalarData::serialize().

Here is the caller graph for this function:

◆ reserve() [3/4]

virtual void Arcane::ISerializer::reserve ( eDataType dt,
Int64 n )
pure virtual

Reserves memory for n objects of type dt.

\dt must be an integral type: DT_Int16, DT_Int32, DT_Int64, DT_Real or DT_Byte.

n calls to a put() method with a single value must be made for the serialization to be correct.

If you want to serialize multiple values with a single call to put(), you must use the reserveSpan() method.

Implemented in Arcane::BasicSerializer, and Arccore::BasicSerializer.

References reserve().

Here is the call graph for this function:

◆ reserve() [4/4]

void Arcane::ISerializer::reserve ( int dt,
Int64 n )
See also
reserve(eDataType dt,Int64 n)

Definition at line 164 of file SerializeGlobal.cc.

References reserve().

Here is the call graph for this function:

◆ reserveArray() [1/11]

virtual void Arcane::ISerializer::reserveArray ( Span< const BFloat16 > values)
pure virtual

Reserve to save the number of elements and the values elements.

Implemented in Arcane::BasicSerializer, and Arccore::BasicSerializer.

◆ reserveArray() [2/11]

virtual void Arcane::ISerializer::reserveArray ( Span< const Byte > values)
pure virtual

Reserve to save the number of elements and the values elements.

Implemented in Arcane::BasicSerializer, and Arccore::BasicSerializer.

◆ reserveArray() [3/11]

virtual void Arcane::ISerializer::reserveArray ( Span< const Float128 > values)
pure virtual

Reserve to save the number of elements and the values elements.

Implemented in Arcane::BasicSerializer, and Arccore::BasicSerializer.

◆ reserveArray() [4/11]

virtual void Arcane::ISerializer::reserveArray ( Span< const Float16 > values)
pure virtual

Reserve to save the number of elements and the values elements.

Implemented in Arcane::BasicSerializer, and Arccore::BasicSerializer.

◆ reserveArray() [5/11]

virtual void Arcane::ISerializer::reserveArray ( Span< const Float32 > values)
pure virtual

Reserve to save the number of elements and the values elements.

Implemented in Arcane::BasicSerializer, and Arccore::BasicSerializer.

◆ reserveArray() [6/11]

virtual void Arcane::ISerializer::reserveArray ( Span< const Int128 > values)
pure virtual

Reserve to save the number of elements and the values elements.

Implemented in Arcane::BasicSerializer, and Arccore::BasicSerializer.

◆ reserveArray() [7/11]

virtual void Arcane::ISerializer::reserveArray ( Span< const Int16 > values)
pure virtual

Reserve to save the number of elements and the values elements.

Implemented in Arcane::BasicSerializer, and Arccore::BasicSerializer.

◆ reserveArray() [8/11]

virtual void Arcane::ISerializer::reserveArray ( Span< const Int32 > values)
pure virtual

Reserve to save the number of elements and the values elements.

Implemented in Arcane::BasicSerializer, and Arccore::BasicSerializer.

◆ reserveArray() [9/11]

virtual void Arcane::ISerializer::reserveArray ( Span< const Int64 > values)
pure virtual

Reserve to save the number of elements and the values elements.

Implemented in Arcane::BasicSerializer, and Arccore::BasicSerializer.

◆ reserveArray() [10/11]

virtual void Arcane::ISerializer::reserveArray ( Span< const Int8 > values)
pure virtual

Reserve to save the number of elements and the values elements.

Implemented in Arcane::BasicSerializer, and Arccore::BasicSerializer.

◆ reserveArray() [11/11]

virtual void Arcane::ISerializer::reserveArray ( Span< const Real > values)
pure virtual

Reserve to save the number of elements and the values elements.

Implemented in Arcane::BasicSerializer, and Arccore::BasicSerializer.

◆ reserveBFloat16()

void Arcane::ISerializer::reserveBFloat16 ( Int64 n)
inline

Reserve for n BFloat16.

Definition at line 184 of file arccore/src/serialize/arccore/serialize/ISerializer.h.

References reserve().

Here is the call graph for this function:

◆ reserveByte()

void Arcane::ISerializer::reserveByte ( Int64 n)
inline

Reserve for n Byte.

Definition at line 176 of file arccore/src/serialize/arccore/serialize/ISerializer.h.

References Arcane::Byte, and reserve().

Here is the call graph for this function:

◆ reserveFloat128()

void Arcane::ISerializer::reserveFloat128 ( Int64 n)
inline

Reserve for n Float128.

Definition at line 186 of file arccore/src/serialize/arccore/serialize/ISerializer.h.

References Arcane::Float128, and reserve().

Here is the call graph for this function:

◆ reserveFloat16()

void Arcane::ISerializer::reserveFloat16 ( Int64 n)
inline

Reserve for n Float16.

Definition at line 180 of file arccore/src/serialize/arccore/serialize/ISerializer.h.

References Arcane::Float16, and reserve().

Here is the call graph for this function:

◆ reserveFloat32()

void Arcane::ISerializer::reserveFloat32 ( Int64 n)
inline

Reserve for n Float32.

Definition at line 182 of file arccore/src/serialize/arccore/serialize/ISerializer.h.

References Arcane::Float32, and reserve().

Here is the call graph for this function:

◆ reserveInt128()

void Arcane::ISerializer::reserveInt128 ( Int64 n)
inline

Reserve for n Int128.

Definition at line 188 of file arccore/src/serialize/arccore/serialize/ISerializer.h.

References Arcane::Int128, and reserve().

Here is the call graph for this function:

◆ reserveInt16()

void Arcane::ISerializer::reserveInt16 ( Int64 n)
inline

Reserve for n Int16.

Definition at line 170 of file arccore/src/serialize/arccore/serialize/ISerializer.h.

References Arcane::Int16, and reserve().

Here is the call graph for this function:

◆ reserveInt32()

void Arcane::ISerializer::reserveInt32 ( Int64 n)
inline

Reserve for n Int32.

Definition at line 174 of file arccore/src/serialize/arccore/serialize/ISerializer.h.

References Arcane::Int32, and reserve().

Referenced by Arcane::SerializedData::_serialize(), and Arcane::PropertyMng::serialize().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ reserveInt64()

void Arcane::ISerializer::reserveInt64 ( Int64 n)
inline

Reserve for n Int64.

Definition at line 172 of file arccore/src/serialize/arccore/serialize/ISerializer.h.

References Arcane::Int64, and reserve().

Referenced by Arcane::mesh::FaceUniqueIdBuilder::_exchangeData(), Arcane::mesh::Parallel3EdgeUniqueIdBuilder::_exchangeData(), Arcane::SerializedData::_serialize(), Arcane::mesh::ItemFamilyVariableSerializer::_serializePartialVariable(), Arcane::Parallel::VariableParallelOperationBase::applyOperation(), Arcane::mesh::ItemsExchangeInfo2::prepareToSend(), Arcane::BasicSerializer::reserve(), Arcane::BasicSerializer::reserveArray(), Arcane::BasicSerializer::reserveArray(), Arcane::BasicSerializer::reserveArray(), Arcane::BasicSerializer::reserveArray(), Arcane::BasicSerializer::reserveArray(), Arcane::BasicSerializer::reserveArray(), Arcane::BasicSerializer::reserveArray(), Arcane::BasicSerializer::reserveArray(), Arcane::BasicSerializer::reserveArray(), Arcane::BasicSerializer::reserveArray(), Arcane::BasicSerializer::reserveArray(), Arcane::ArrayDataT< DataType >::serialize(), Arcane::Materials::ItemMaterialVariableArray< DataType >::serialize(), Arcane::PropertyMng::serialize(), Arcane::ItemConnectivitySynchronizer::serializeGhostItems(), Arcane::mesh::CellFamilySerializer::serializeItems(), Arcane::mesh::IndirectItemFamilySerializer::serializeItems(), and Arcane::mesh::ParticleFamilySerializer::serializeItems().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ reserveInt8()

void Arcane::ISerializer::reserveInt8 ( Int64 n)
inline

Reserve for n Int8.

Definition at line 178 of file arccore/src/serialize/arccore/serialize/ISerializer.h.

References Arcane::Int8, and reserve().

Here is the call graph for this function:

◆ reserveReal()

void Arcane::ISerializer::reserveReal ( Int64 n)
inline

Reserve for n Real.

Definition at line 168 of file arccore/src/serialize/arccore/serialize/ISerializer.h.

References Arcane::Real, and reserve().

Here is the call graph for this function:

◆ reserveSpan() [1/14]

virtual void Arcane::ISerializer::reserveSpan ( eBasicDataType dt,
Int64 n )
pure virtual

Reserves memory for n values of dt.

A call to a putSpan() method must be made for the serialization to be correct.

Implemented in Arcane::BasicSerializer, and Arccore::BasicSerializer.

References reserveSpan().

Referenced by Arcane::mesh::FaceUniqueIdBuilder::_exchangeData(), Arcane::mesh::Parallel3EdgeUniqueIdBuilder::_exchangeData(), Arcane::SerializedData::_serialize(), Arcane::mesh::ItemFamilyVariableSerializer::_serializePartialVariable(), Arcane::Parallel::VariableParallelOperationBase::applyOperation(), Arcane::mesh::ItemsExchangeInfo2::prepareToSend(), Arcane::BasicSerializer::reserveSpan(), Arcane::BasicSerializer::reserveSpan(), Arcane::BasicSerializer::reserveSpan(), Arcane::BasicSerializer::reserveSpan(), reserveSpan(), reserveSpan(), reserveSpan(), reserveSpan(), reserveSpan(), reserveSpan(), reserveSpan(), reserveSpan(), reserveSpan(), reserveSpan(), Arcane::Array2DataT< DataType >::serialize(), Arcane::Array2DataT< DataType >::serialize(), Arcane::ArrayDataT< DataType >::serialize(), Arcane::Materials::ItemMaterialVariableArray< DataType >::serialize(), Arcane::Materials::ItemMaterialVariableScalar< DataType >::serialize(), Arcane::NumArrayDataT< DataType, RankValue >::serialize(), Arcane::NumArrayDataT< DataType, RankValue >::serialize(), Arcane::ScalarDataT< DataType >::serialize(), Arcane::ItemConnectivitySynchronizer::serializeGhostItems(), Arcane::VariablePrivate::serializeHashId(), Arcane::mesh::CellFamilySerializer::serializeItems(), Arcane::mesh::IndirectItemFamilySerializer::serializeItems(), Arcane::mesh::ParticleFamilySerializer::serializeItems(), and Arcane::TransferValuesParallelOperation::transferValues().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ reserveSpan() [2/14]

virtual void Arcane::ISerializer::reserveSpan ( eDataType dt,
Int64 n )
pure virtual

Reserves memory for n values of dt.

\dt must be an integral type: DT_Int16, DT_Int32, DT_Int64, DT_Real or DT_Byte.

A call to a putSpan() method must be made for the serialization to be correct.

Deprecated
Use reserveSpan(eBasicDataType) instead

Implemented in Arcane::BasicSerializer, and Arccore::BasicSerializer.

References reserveSpan().

Here is the call graph for this function:

◆ reserveSpan() [3/14]

void Arcane::ISerializer::reserveSpan ( int dt,
Int64 n )
See also
reserve(eDataType dt,Int64 n)

Definition at line 173 of file SerializeGlobal.cc.

References reserveSpan().

Here is the call graph for this function:

◆ reserveSpan() [4/14]

void Arcane::ISerializer::reserveSpan ( Span< const BFloat16 > values)
virtual

Reserve for a view of values elements.

Reimplemented in Arcane::BasicSerializer, and Arccore::BasicSerializer.

Definition at line 104 of file SerializeGlobal.cc.

◆ reserveSpan() [5/14]

void Arcane::ISerializer::reserveSpan ( Span< const Byte > values)
virtual

Reserve for a view of values elements.

Reimplemented in Arcane::BasicSerializer, and Arccore::BasicSerializer.

Definition at line 86 of file SerializeGlobal.cc.

References DT_Byte, reserveSpan(), and Arcane::SpanImpl< T, SizeType, Extent >::size().

Here is the call graph for this function:

◆ reserveSpan() [6/14]

void Arcane::ISerializer::reserveSpan ( Span< const Float128 > values)
virtual

Reserve for a view of values elements.

Reimplemented in Arcane::BasicSerializer, and Arccore::BasicSerializer.

Definition at line 116 of file SerializeGlobal.cc.

◆ reserveSpan() [7/14]

void Arcane::ISerializer::reserveSpan ( Span< const Float16 > values)
virtual

Reserve for a view of values elements.

Reimplemented in Arcane::BasicSerializer, and Arccore::BasicSerializer.

Definition at line 98 of file SerializeGlobal.cc.

References DT_Float16, reserveSpan(), and Arcane::SpanImpl< T, SizeType, Extent >::size().

Here is the call graph for this function:

◆ reserveSpan() [8/14]

void Arcane::ISerializer::reserveSpan ( Span< const Float32 > values)
virtual

Reserve for a view of values elements.

Reimplemented in Arcane::BasicSerializer, and Arccore::BasicSerializer.

Definition at line 110 of file SerializeGlobal.cc.

◆ reserveSpan() [9/14]

void Arcane::ISerializer::reserveSpan ( Span< const Int128 > values)
virtual

Reserve for a view of values elements.

Reimplemented in Arcane::BasicSerializer, and Arccore::BasicSerializer.

Definition at line 122 of file SerializeGlobal.cc.

◆ reserveSpan() [10/14]

void Arcane::ISerializer::reserveSpan ( Span< const Int16 > values)
virtual

Reserve for a view of values elements.

Reimplemented in Arcane::BasicSerializer, and Arccore::BasicSerializer.

Definition at line 68 of file SerializeGlobal.cc.

References DT_Int16, reserveSpan(), and Arcane::SpanImpl< T, SizeType, Extent >::size().

Here is the call graph for this function:

◆ reserveSpan() [11/14]

void Arcane::ISerializer::reserveSpan ( Span< const Int32 > values)
virtual

Reserve for a view of values elements.

Reimplemented in Arcane::BasicSerializer, and Arccore::BasicSerializer.

Definition at line 74 of file SerializeGlobal.cc.

References DT_Int32, reserveSpan(), and Arcane::SpanImpl< T, SizeType, Extent >::size().

Here is the call graph for this function:

◆ reserveSpan() [12/14]

void Arcane::ISerializer::reserveSpan ( Span< const Int64 > values)
virtual

Reserve for a view of values elements.

Reimplemented in Arcane::BasicSerializer, and Arccore::BasicSerializer.

Definition at line 80 of file SerializeGlobal.cc.

References DT_Int64, reserveSpan(), and Arcane::SpanImpl< T, SizeType, Extent >::size().

Here is the call graph for this function:

◆ reserveSpan() [13/14]

void Arcane::ISerializer::reserveSpan ( Span< const Int8 > values)
virtual

Reserve for a view of values elements.

Reimplemented in Arcane::BasicSerializer, and Arccore::BasicSerializer.

Definition at line 92 of file SerializeGlobal.cc.

References DT_Int8, reserveSpan(), and Arcane::SpanImpl< T, SizeType, Extent >::size().

Here is the call graph for this function:

◆ reserveSpan() [14/14]

void Arcane::ISerializer::reserveSpan ( Span< const Real > values)
virtual

Reserve for a view of values elements.

Reimplemented in Arcane::BasicSerializer, and Arccore::BasicSerializer.

Definition at line 62 of file SerializeGlobal.cc.

References DT_Real, reserveSpan(), and Arcane::SpanImpl< T, SizeType, Extent >::size().

Here is the call graph for this function:

◆ setMode()

virtual void Arcane::ISerializer::setMode ( eMode new_mode)
pure virtual

◆ setReadMode()

virtual void Arcane::ISerializer::setReadMode ( eReadMode read_mode)
pure virtual

Sets the read mode.

Implemented in Arcane::BasicSerializer, and Arccore::BasicSerializer.

References setReadMode().

Referenced by setReadMode().

Here is the call graph for this function:
Here is the caller graph for this function:

The documentation for this class was generated from the following files: