12#ifndef ARCANE_MESH_ITEMFAMILYVARIABLESERIALIZER_H
13#define ARCANE_MESH_ITEMFAMILYVARIABLESERIALIZER_H
17#include "arcane/utils/TraceAccessor.h"
19#include "arcane/core/IItemFamilySerializeStep.h"
21#include "arcane/mesh/MeshGlobal.h"
44class ARCANE_MESH_EXPORT ItemFamilyVariableSerializer
51 ~ItemFamilyVariableSerializer();
59 ePhase phase()
const override {
return IItemFamilySerializeStep::PH_Variable; }
64 IItemFamily* _family()
const {
return m_item_family; }
Interface for a step in the serialization of entity families.
ePhase
Serialization phase.
Interface of an entity family.
Arguments for the serialization callbacks of entity families.
TraceAccessor(ITraceMng *m)
Constructs an accessor via the trace manager m.
1D data vector with value semantics (STL style).
void _serializePartialVariable(IVariable *var, ISerializer *sbuf, Int32ConstArrayView local_ids)
Serialise une variable partielle.
void _checkSerializationVariable(ISerializer *sbuf, IVariable *var)
Serializes the variable name to verify that deserialization is correct.
void initialize() override
Initializes the instance before the start of exchanges.
void _checkSerialization(ISerializer *sbuf, Int32ConstArrayView local_ids)
Serializes a magic number and the number of entities to verify that deserialization is correct.
void finalize() override
Performs end-of-exchange processing.
ePhase phase() const override
Serialization phase where this instance is involved.
void notifyAction(const NotifyActionArgs &) override
Notifies the instance that we are entering a certain phase of the exchange.
UniqueArray< IVariable * > m_variables_to_exchange
List of variables to exchange.
IItemFamily * family() const override
Associated family.
-- tab-width: 2; indent-tabs-mode: nil; coding: utf-8-with-signature --
ConstArrayView< Int32 > Int32ConstArrayView
C equivalent of a 1D array of 32-bit integers.