Arcane  4.1.12.0
Developer documentation
Loading...
Searching...
No Matches
Arcane::VtkHdfV2DataWriter::DatasetInfo Struct Reference

Class to store offset information. More...

Collaboration diagram for Arcane::VtkHdfV2DataWriter::DatasetInfo:

Public Member Functions

 DatasetInfo (const String &name)
 DatasetInfo (HGroup &_group, const String &name)
bool isNull () const
HGroupgroup () const
const Stringname () const
Int64 offset () const
 Offset value. (-1) if writing to the end of the array.
void setOffset (Int64 v)

Private Attributes

HGroupm_group = nullptr
String m_name
Int64 m_offset = -1

Friends

bool operator< (const DatasetInfo &s1, const DatasetInfo &s2)

Detailed Description

Class to store offset information.

This is a pair (hdf_group, dataset_name).

The group can be null in which case it is an offset that is only calculated and will not be saved.

Instances of this class use a reference to an HDF5 group and thus this group must live longer than the instance.

Definition at line 126 of file VtkHdfV2PostProcessor.cc.

Constructor & Destructor Documentation

◆ DatasetInfo() [1/2]

Arcane::VtkHdfV2DataWriter::DatasetInfo::DatasetInfo ( const String & name)
inlineexplicit

Definition at line 129 of file VtkHdfV2PostProcessor.cc.

◆ DatasetInfo() [2/2]

Arcane::VtkHdfV2DataWriter::DatasetInfo::DatasetInfo ( HGroup & _group,
const String & name )
inline

Definition at line 132 of file VtkHdfV2PostProcessor.cc.

Member Function Documentation

◆ group()

HGroup * Arcane::VtkHdfV2DataWriter::DatasetInfo::group ( ) const
inline

Definition at line 138 of file VtkHdfV2PostProcessor.cc.

◆ isNull()

bool Arcane::VtkHdfV2DataWriter::DatasetInfo::isNull ( ) const
inline

Definition at line 136 of file VtkHdfV2PostProcessor.cc.

◆ name()

const String & Arcane::VtkHdfV2DataWriter::DatasetInfo::name ( ) const
inline

Definition at line 139 of file VtkHdfV2PostProcessor.cc.

◆ offset()

Int64 Arcane::VtkHdfV2DataWriter::DatasetInfo::offset ( ) const
inline

Offset value. (-1) if writing to the end of the array.

Definition at line 141 of file VtkHdfV2PostProcessor.cc.

Referenced by Arcane::VtkHdfV2DataWriter::_writeDataSetGeneric().

Here is the caller graph for this function:

◆ setOffset()

void Arcane::VtkHdfV2DataWriter::DatasetInfo::setOffset ( Int64 v)
inline

Definition at line 142 of file VtkHdfV2PostProcessor.cc.

◆ operator<

bool operator< ( const DatasetInfo & s1,
const DatasetInfo & s2 )
friend

Definition at line 143 of file VtkHdfV2PostProcessor.cc.

Member Data Documentation

◆ m_group

HGroup* Arcane::VtkHdfV2DataWriter::DatasetInfo::m_group = nullptr
private

Definition at line 150 of file VtkHdfV2PostProcessor.cc.

◆ m_name

String Arcane::VtkHdfV2DataWriter::DatasetInfo::m_name
private

Definition at line 151 of file VtkHdfV2PostProcessor.cc.

◆ m_offset

Int64 Arcane::VtkHdfV2DataWriter::DatasetInfo::m_offset = -1
private

Definition at line 152 of file VtkHdfV2PostProcessor.cc.


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