Arcane  4.1.12.0
User documentation
Loading...
Searching...
No Matches
Arcane::Hdf5VariableInfoBase Class Referenceabstract

Classes

class  ICorrespondanceFunctor
 Functor to establish the correspondence between a entity of the current mesh and that of the saved mesh. More...

Public Member Functions

const Stringpath () const
 Path in the Hdf5 file containing the variable value.
void setPath (const String &path)
 Sets the path in the Hdf5 file containing the variable value.
virtual void readVariable (Hdf5Utils::HFile &hfile, const String &filename, Hdf5Utils::StandardTypes &st, const String &ids_hpath, IData *data)=0
virtual void writeVariable (Hdf5Utils::HFile &hfile, Hdf5Utils::StandardTypes &st)=0
virtual IVariablevariable () const =0
void writeGroup (Hdf5Utils::HFile &hfile, Hdf5Utils::StandardTypes &st, const String &hdf_path, Integer save_type)
void readGroupInfo (Hdf5Utils::HFile &hfile, Hdf5Utils::StandardTypes &st, const String &hdf_path, Int64Array &uids, Real3Array &centers)
void setCorrespondanceFunctor (ICorrespondanceFunctor *functor)

Static Public Member Functions

static Hdf5VariableInfoBase * create (IMesh *mesh, const String &name, const String &family)
static Hdf5VariableInfoBase * create (IVariable *variable)
 Creates an instance for the variable variable.

Static Public Attributes

static const Integer SAVE_IDS = 1
static const Integer SAVE_COORDS = 2

Protected Attributes

ICorrespondanceFunctorm_correspondance_functor

Detailed Description

Definition at line 38 of file Hdf5VariableInfoBase.h.

Constructor & Destructor Documentation

◆ Hdf5VariableInfoBase()

Arcane::Hdf5VariableInfoBase::Hdf5VariableInfoBase ( )
inlineprotected

Definition at line 64 of file Hdf5VariableInfoBase.h.

◆ ~Hdf5VariableInfoBase()

virtual Arcane::Hdf5VariableInfoBase::~Hdf5VariableInfoBase ( )
inlinevirtual

Definition at line 70 of file Hdf5VariableInfoBase.h.

Member Function Documentation

◆ create() [1/2]

Hdf5VariableInfoBase * Arcane::Hdf5VariableInfoBase::create ( IMesh * mesh,
const String & name,
const String & family )
static

Definition at line 109 of file Hdf5VariableInfoBase.cc.

◆ create() [2/2]

◆ path()

const String & Arcane::Hdf5VariableInfoBase::path ( ) const
inline

Path in the Hdf5 file containing the variable value.

Definition at line 82 of file Hdf5VariableInfoBase.h.

Referenced by setPath(), and Arcane::Hdf5ItemVariableInfo< VariableType, DataType >::writeVariable().

◆ readGroupInfo()

void Arcane::Hdf5VariableInfoBase::readGroupInfo ( Hdf5Utils::HFile & hfile,
Hdf5Utils::StandardTypes & st,
const String & hdf_path,
Int64Array & uids,
Real3Array & centers )

Definition at line 353 of file Hdf5VariableInfoBase.cc.

◆ setCorrespondanceFunctor()

void Arcane::Hdf5VariableInfoBase::setCorrespondanceFunctor ( ICorrespondanceFunctor * functor)
inline

Definition at line 96 of file Hdf5VariableInfoBase.h.

◆ setPath()

void Arcane::Hdf5VariableInfoBase::setPath ( const String & path)
inline

Sets the path in the Hdf5 file containing the variable value.

Definition at line 84 of file Hdf5VariableInfoBase.h.

References path().

Referenced by Arcane::Hdf5VariableReaderHelper::open().

◆ writeGroup()

◆ writeVariable()

virtual void Arcane::Hdf5VariableInfoBase::writeVariable ( Hdf5Utils::HFile & hfile,
Hdf5Utils::StandardTypes & st )
pure virtual

Member Data Documentation

◆ m_correspondance_functor

ICorrespondanceFunctor* Arcane::Hdf5VariableInfoBase::m_correspondance_functor
protected

Definition at line 107 of file Hdf5VariableInfoBase.h.

◆ SAVE_COORDS

const Integer Arcane::Hdf5VariableInfoBase::SAVE_COORDS = 2
static

Definition at line 60 of file Hdf5VariableInfoBase.h.

◆ SAVE_IDS

const Integer Arcane::Hdf5VariableInfoBase::SAVE_IDS = 1
static

Definition at line 59 of file Hdf5VariableInfoBase.h.


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