12#ifndef ARCANE_STD_INTERNAL_BASICREADER_H
13#define ARCANE_STD_INTERNAL_BASICREADER_H
17#include "arcane/std/internal/BasicReaderWriter.h"
34:
public BasicReaderWriterCommon
55 const String& path,
bool want_parallel);
71 void setItemGroupFinder(IItemGroupFinder* group_finder)
73 m_item_group_finder = group_finder;
76 IHashAlgorithm* comparisonHashAlgorithm()
const {
return m_comparison_hash_algorithm.get(); }
80 bool m_want_parallel =
false;
84 Int32 m_first_rank_to_read = -1;
85 Int32 m_nb_rank_to_read = -1;
86 Int32 m_forced_rank_to_read = -1;
88 std::map<String, Ref<ParallelDataReader>> m_parallel_data_readers;
89 UniqueArray<Ref<IGenericReader>> m_global_readers;
90 IItemGroupFinder* m_item_group_finder;
100 void _setRanksToRead();
Data reading information.
Interface for reading data of a variable (Version 2).
virtual void endRead()=0
Notifies the end of data reading.
Interface for reading variable data.
Interface of a data item.
Interface of a hashing algorithm.
Interface of the parallelism manager for a subdomain.
Reference to an instance.
Unicode character string.
Data reading information for a variable.
Interface to find the group associated with a variable based on this metadata.
Ref< KeyValueTextReader > m_forced_rank_to_read_text_reader
Reader for the first rank to read.
String metaData() override
Metadata.
void fillComparisonHash(std::map< String, String > &comparison_hash_map)
Fills the argument with pairs (variable_name, hash_value).
void read(IVariable *v, IData *data) override
Reads the data data of the variable var.
void fillMetaData(ByteArray &bytes) override
Fills bytes with the metadata content.
Int32 Integer
Type representing an integer.
Array< Byte > ByteArray
Dynamic one-dimensional array of characters.
std::int32_t Int32
Signed integer type of 32 bits.