Arcane  4.1.12.0
Developer documentation
Loading...
Searching...
No Matches
Arcane::impl::BasicGenericReader Class Reference

Basic implementation of IGenericReader. More...

#include <arcane/std/internal/BasicReaderWriter.h>

Inheritance diagram for Arcane::impl::BasicGenericReader:
Collaboration diagram for Arcane::impl::BasicGenericReader:

Public Member Functions

 BasicGenericReader (IApplication *app, Int32 version, Ref< KeyValueTextReader > text_reader)
void initialize (const String &path, Int32 rank) override
void readData (const String &var_full_name, IData *data) override
void readItemGroup (const String &group_name, Int64Array &written_unique_ids, Int64Array &wanted_unique_ids) override
String comparisonHashValue (const String &var_full_name) const override
const VariableDataInfoMapvariablesDataInfoMap () const override
Public Member Functions inherited from Arcane::TraceAccessor
 TraceAccessor (ITraceMng *m)
 Constructs an accessor via the trace manager m.
 TraceAccessor (const TraceAccessor &rhs)
 Copy constructor.
TraceAccessoroperator= (const TraceAccessor &rhs)
 Copy assignment operator.
virtual ~TraceAccessor ()
 Frees resources.
ITraceMngtraceMng () const
 Trace manager.
TraceMessage info () const
 Flow for an information message.
TraceMessage pinfo () const
 Flow for a parallel information message.
TraceMessage info (char category) const
 Flow for an information message of a given category.
TraceMessage pinfo (char category) const
 Flow for a parallel information message of a given category.
TraceMessage info (bool v) const
 Flow for an information message.
TraceMessage warning () const
 Flow for a warning message.
TraceMessage pwarning () const
TraceMessage error () const
 Flow for an error message.
TraceMessage perror () const
TraceMessage log () const
 Flow for a log message.
TraceMessage plog () const
 Flow for a log message.
TraceMessage logdate () const
 Flow for a log message preceded by the date.
TraceMessage fatal () const
 Flow for a fatal error message.
TraceMessage pfatal () const
 Flow for a parallel fatal error message.
TraceMessageDbg debug (Trace::eDebugLevel=Trace::Medium) const
 Flow for a debug message.
Trace::eDebugLevel configDbgLevel () const
 Debug level of the configuration file.
TraceMessage info (Int32 verbose_level) const
 Flow for an information message of a given level.
TraceMessage linfo () const
 Flow for an information message with the local information level of this instance.
TraceMessage linfo (Int32 relative_level) const
 Flow for an information message with the local information level of this instance.
void fatalMessage (const StandaloneTraceMessage &o) const

Private Member Functions

Ref< VariableDataInfo_getVarInfo (const String &full_name)

Private Attributes

IApplicationm_application = nullptr
Ref< KeyValueTextReaderm_text_reader
String m_path
Int32 m_rank = A_NULL_RANK
Int32 m_version = -1
VariableDataInfoMap m_variables_data_info

Additional Inherited Members

Protected Member Functions inherited from Arcane::TraceAccessor
void _setLocalVerboseLevel (Int32 v)
Int32 _localVerboseLevel () const

Detailed Description

Basic implementation of IGenericReader.

Definition at line 108 of file BasicReaderWriter.h.

Constructor & Destructor Documentation

◆ BasicGenericReader()

Arcane::impl::BasicGenericReader::BasicGenericReader ( IApplication * app,
Int32 version,
Ref< KeyValueTextReader > text_reader )

Definition at line 39 of file BasicGenericReader.cc.

Member Function Documentation

◆ _getVarInfo()

Ref< VariableDataInfo > Arcane::impl::BasicGenericReader::_getVarInfo ( const String & full_name)
private

Definition at line 160 of file BasicGenericReader.cc.

◆ comparisonHashValue()

String Arcane::impl::BasicGenericReader::comparisonHashValue ( const String & var_full_name) const
overridevirtual

Implements Arcane::impl::IGenericReader.

Definition at line 256 of file BasicGenericReader.cc.

◆ initialize()

void Arcane::impl::BasicGenericReader::initialize ( const String & path,
Int32 rank )
overridevirtual

Implements Arcane::impl::IGenericReader.

Definition at line 51 of file BasicGenericReader.cc.

◆ readData()

void Arcane::impl::BasicGenericReader::readData ( const String & var_full_name,
IData * data )
overridevirtual

Implements Arcane::impl::IGenericReader.

Definition at line 173 of file BasicGenericReader.cc.

◆ readItemGroup()

void Arcane::impl::BasicGenericReader::readItemGroup ( const String & group_name,
Int64Array & written_unique_ids,
Int64Array & wanted_unique_ids )
overridevirtual

Implements Arcane::impl::IGenericReader.

Definition at line 210 of file BasicGenericReader.cc.

◆ variablesDataInfoMap()

const VariableDataInfoMap & Arcane::impl::BasicGenericReader::variablesDataInfoMap ( ) const
inlineoverridevirtual

Implements Arcane::impl::IGenericReader.

Definition at line 125 of file BasicReaderWriter.h.

Member Data Documentation

◆ m_application

IApplication* Arcane::impl::BasicGenericReader::m_application = nullptr
private

Definition at line 132 of file BasicReaderWriter.h.

◆ m_path

String Arcane::impl::BasicGenericReader::m_path
private

Definition at line 134 of file BasicReaderWriter.h.

◆ m_rank

Int32 Arcane::impl::BasicGenericReader::m_rank = A_NULL_RANK
private

Definition at line 135 of file BasicReaderWriter.h.

◆ m_text_reader

Ref<KeyValueTextReader> Arcane::impl::BasicGenericReader::m_text_reader
private

Definition at line 133 of file BasicReaderWriter.h.

◆ m_variables_data_info

VariableDataInfoMap Arcane::impl::BasicGenericReader::m_variables_data_info
private

Definition at line 137 of file BasicReaderWriter.h.

◆ m_version

Int32 Arcane::impl::BasicGenericReader::m_version = -1
private

Definition at line 136 of file BasicReaderWriter.h.


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