12#ifndef ARCANE_STD_INTERNAL_BASICWRITER_H
13#define ARCANE_STD_INTERNAL_BASICWRITER_H
17#include "arcane/std/internal/BasicReaderWriter.h"
18#include "arcane/std/internal/ParallelDataWriter.h"
36:
public BasicReaderWriterCommon
42 eOpenMode open_mode,
Integer version,
bool want_parallel);
48 void endWrite()
override;
59 m_data_compressor = data_compressor;
66 m_compare_hash_algorithm = hash_algo;
79 bool m_want_parallel =
false;
80 bool m_is_gather =
false;
81 bool m_is_init =
false;
92 std::set<ItemGroup> m_written_groups;
Interface for writing variable data.
Interface of a data item.
Interface of the parallelism manager for a subdomain.
list of 'ParallelDataWriter'.
Reference to an instance.
Encapsulation of an automatically destructing pointer.
Unicode character string.
bool m_is_save_values
Indicates whether to save the values.
String _computeCompareHash(IVariable *var, IData *write_data)
Calculates a comparison hash for the variable.
void setSaveValues(bool v)
void setCompareHashAlgorithm(Ref< IHashAlgorithm > hash_algo)
void beginWrite(const VariableCollection &vars) override
Implementation of IDataWriter.
void setDataCompressor(Ref< IDataCompressor > data_compressor)
Sets the compression service. Must be called before initialize().
void write(IVariable *v, IData *data) override
Writes the data data of the variable var.
void setMetaData(const String &meta_data) override
Sets the metadata information.
Int32 Integer
Type representing an integer.
std::int32_t Int32
Signed integer type of 32 bits.