Arcane  4.1.12.0
Developer documentation
Loading...
Searching...
No Matches
Arcane::Hdf5Utils::HFile Class Reference

Encapsulates a hid_t for a file. More...

#include <arcane/hdf5/Hdf5Utils.h>

Inheritance diagram for Arcane::Hdf5Utils::HFile:
Collaboration diagram for Arcane::Hdf5Utils::HFile:

Public Member Functions

 HFile (HFile &&rhs)
HFile & operator= (HFile &&rhs)
HFile & operator= (const HFile &hid)=delete
 HFile (const HFile &rhs)
void openTruncate (const String &var)
void openAppend (const String &var)
void openRead (const String &var)
void openTruncate (const String &var, hid_t plist_id)
void openAppend (const String &var, hid_t plist_id)
void openRead (const String &var, hid_t plist_id)
void close ()
Public Member Functions inherited from Arcane::Hdf5Utils::Hid
 Hid (hid_t id)
hid_t id () const
bool isBad () const

Private Member Functions

herr_t _close ()

Additional Inherited Members

Protected Member Functions inherited from Arcane::Hdf5Utils::Hid
 Hid (const Hid &hid)
void _setId (hid_t id)
void _setNullId ()

Detailed Description

Encapsulates a hid_t for a file.

Definition at line 273 of file hdf5/Hdf5Utils.h.

Constructor & Destructor Documentation

◆ ~HFile()

Arcane::Hdf5Utils::HFile::~HFile ( )
inline

Definition at line 279 of file hdf5/Hdf5Utils.h.

◆ HFile() [1/2]

Arcane::Hdf5Utils::HFile::HFile ( HFile && rhs)
inline

Definition at line 280 of file hdf5/Hdf5Utils.h.

◆ HFile() [2/2]

Arcane::Hdf5Utils::HFile::HFile ( const HFile & rhs)
inline

Definition at line 296 of file hdf5/Hdf5Utils.h.

Member Function Documentation

◆ _close()

herr_t Arcane::Hdf5Utils::HFile::_close ( )
private

Definition at line 231 of file Hdf5Utils.cc.

◆ close()

void Arcane::Hdf5Utils::HFile::close ( )

Definition at line 246 of file Hdf5Utils.cc.

◆ openAppend() [1/2]

void Arcane::Hdf5Utils::HFile::openAppend ( const String & var)

Definition at line 168 of file Hdf5Utils.cc.

◆ openAppend() [2/2]

void Arcane::Hdf5Utils::HFile::openAppend ( const String & var,
hid_t plist_id )

Definition at line 204 of file Hdf5Utils.cc.

◆ openRead() [1/2]

void Arcane::Hdf5Utils::HFile::openRead ( const String & var)

Definition at line 180 of file Hdf5Utils.cc.

◆ openRead() [2/2]

void Arcane::Hdf5Utils::HFile::openRead ( const String & var,
hid_t plist_id )

Definition at line 216 of file Hdf5Utils.cc.

◆ openTruncate() [1/2]

void Arcane::Hdf5Utils::HFile::openTruncate ( const String & var)

Definition at line 156 of file Hdf5Utils.cc.

◆ openTruncate() [2/2]

void Arcane::Hdf5Utils::HFile::openTruncate ( const String & var,
hid_t plist_id )

Definition at line 192 of file Hdf5Utils.cc.

◆ operator=()

HFile & Arcane::Hdf5Utils::HFile::operator= ( HFile && rhs)
inline

Definition at line 285 of file hdf5/Hdf5Utils.h.


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