Arcane  4.1.12.0
Developer documentation
Loading...
Searching...
No Matches
Arcane::Hdf5ScalarVariableInfo< VariableType, DataType > Class Template Reference
Inheritance diagram for Arcane::Hdf5ScalarVariableInfo< VariableType, DataType >:
Collaboration diagram for Arcane::Hdf5ScalarVariableInfo< VariableType, DataType >:

Public Member Functions

 Hdf5ScalarVariableInfo (IVariable *v)
VariableType & trueVariable ()
virtual IVariablevariable () const
virtual void readVariable (Hdf5Utils::HFile &hfile, const String &filename, Hdf5Utils::StandardTypes &st, const String &ids_hpath, IData *data)
virtual void writeVariable (Hdf5Utils::HFile &hfile, Hdf5Utils::StandardTypes &st)
Public Member Functions inherited from Arcane::Hdf5VariableInfoBase
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.
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)

Private Member Functions

void _readStandardArray (Array< DataType > &buffer, hid_t file_id, Hdf5Utils::StandardTypes &st)
void _writeStandardArray (Array< DataType > &buffer, hid_t file_id, Hdf5Utils::StandardTypes &st)

Private Attributes

VariableType m_variable

Additional Inherited Members

Static Public Member Functions inherited from Arcane::Hdf5VariableInfoBase
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 inherited from Arcane::Hdf5VariableInfoBase
static const Integer SAVE_IDS = 1
static const Integer SAVE_COORDS = 2
Protected Attributes inherited from Arcane::Hdf5VariableInfoBase
ICorrespondanceFunctorm_correspondance_functor

Detailed Description

template<typename VariableType, typename DataType>
class Arcane::Hdf5ScalarVariableInfo< VariableType, DataType >

Definition at line 76 of file Hdf5VariableInfoBase.cc.

Constructor & Destructor Documentation

◆ Hdf5ScalarVariableInfo()

template<typename VariableType, typename DataType>
Arcane::Hdf5ScalarVariableInfo< VariableType, DataType >::Hdf5ScalarVariableInfo ( IVariable * v)

Definition at line 597 of file Hdf5VariableInfoBase.cc.

Member Function Documentation

◆ _readStandardArray()

template<typename VariableType, typename DataType>
void Arcane::Hdf5ScalarVariableInfo< VariableType, DataType >::_readStandardArray ( Array< DataType > & buffer,
hid_t file_id,
Hdf5Utils::StandardTypes & st )
private

Definition at line 645 of file Hdf5VariableInfoBase.cc.

◆ _writeStandardArray()

template<typename VariableType, typename DataType>
void Arcane::Hdf5ScalarVariableInfo< VariableType, DataType >::_writeStandardArray ( Array< DataType > & buffer,
hid_t file_id,
Hdf5Utils::StandardTypes & st )
private

Definition at line 686 of file Hdf5VariableInfoBase.cc.

◆ readVariable()

template<typename VariableType, typename DataType>
void Arcane::Hdf5ScalarVariableInfo< VariableType, DataType >::readVariable ( Hdf5Utils::HFile & hfile,
const String & filename,
Hdf5Utils::StandardTypes & st,
const String & ids_hpath,
IData * data )
virtual

Implements Arcane::Hdf5VariableInfoBase.

Definition at line 608 of file Hdf5VariableInfoBase.cc.

◆ trueVariable()

template<typename VariableType, typename DataType>
VariableType & Arcane::Hdf5ScalarVariableInfo< VariableType, DataType >::trueVariable ( )
inline

Definition at line 85 of file Hdf5VariableInfoBase.cc.

◆ variable()

template<typename VariableType, typename DataType>
virtual IVariable * Arcane::Hdf5ScalarVariableInfo< VariableType, DataType >::variable ( ) const
inlinevirtual

Implements Arcane::Hdf5VariableInfoBase.

Definition at line 86 of file Hdf5VariableInfoBase.cc.

◆ writeVariable()

template<typename VariableType, typename DataType>
void Arcane::Hdf5ScalarVariableInfo< VariableType, DataType >::writeVariable ( Hdf5Utils::HFile & hfile,
Hdf5Utils::StandardTypes & st )
virtual

Implements Arcane::Hdf5VariableInfoBase.

Definition at line 697 of file Hdf5VariableInfoBase.cc.

Member Data Documentation

◆ m_variable

template<typename VariableType, typename DataType>
VariableType Arcane::Hdf5ScalarVariableInfo< VariableType, DataType >::m_variable
private

Definition at line 103 of file Hdf5VariableInfoBase.cc.


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