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

Encapsulates a hid_t for a group. More...

#include <arcane/hdf5/Hdf5Utils.h>

Inheritance diagram for Arcane::Hdf5Utils::HGroup:
Collaboration diagram for Arcane::Hdf5Utils::HGroup:

Public Member Functions

 HGroup (HGroup &&rhs)
HGroup & operator= (HGroup &&rhs)
HGroup & operator= (const HGroup &hid)=delete
 HGroup (const HGroup &rhs)
void create (const Hid &loc_id, const String &group_name)
void openOrCreate (const Hid &loc_id, const String &group_name)
void recursiveCreate (const Hid &loc_id, const String &var)
void recursiveCreate (const Hid &loc_id, const Array< String > &paths)
void checkDelete (const Hid &loc_id, const String &var)
void recursiveOpen (const Hid &loc_id, const String &var)
void open (const Hid &loc_id, const String &var)
void openIfExists (const Hid &loc_id, const Array< String > &var)
bool hasChildren (const String &var)
void close ()
Public Member Functions inherited from Arcane::Hdf5Utils::Hid
 Hid (hid_t id)
hid_t id () const
bool isBad () const

Static Public Member Functions

static bool hasChildren (hid_t loc_id, const String &var)

Private Member Functions

hid_t _checkOrCreate (hid_t loc_id, const String &group_name)
hid_t _checkExist (hid_t loc_id, const String &group_name)

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 group.

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

Constructor & Destructor Documentation

◆ HGroup() [1/3]

Arcane::Hdf5Utils::HGroup::HGroup ( )
inline

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

◆ ~HGroup()

Arcane::Hdf5Utils::HGroup::~HGroup ( )
inline

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

◆ HGroup() [2/3]

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

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

◆ HGroup() [3/3]

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

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

Member Function Documentation

◆ _checkExist()

hid_t Arcane::Hdf5Utils::HGroup::_checkExist ( hid_t loc_id,
const String & group_name )
private

Definition at line 472 of file Hdf5Utils.cc.

◆ _checkOrCreate()

hid_t Arcane::Hdf5Utils::HGroup::_checkOrCreate ( hid_t loc_id,
const String & group_name )
private

Definition at line 394 of file Hdf5Utils.cc.

◆ checkDelete()

void Arcane::Hdf5Utils::HGroup::checkDelete ( const Hid & loc_id,
const String & var )

Definition at line 287 of file Hdf5Utils.cc.

◆ close()

void Arcane::Hdf5Utils::HGroup::close ( )

Definition at line 459 of file Hdf5Utils.cc.

◆ create()

void Arcane::Hdf5Utils::HGroup::create ( const Hid & loc_id,
const String & group_name )

Definition at line 421 of file Hdf5Utils.cc.

◆ hasChildren() [1/2]

bool Arcane::Hdf5Utils::HGroup::hasChildren ( const String & var)

Definition at line 371 of file Hdf5Utils.cc.

◆ hasChildren() [2/2]

bool Arcane::Hdf5Utils::HGroup::hasChildren ( hid_t loc_id,
const String & var )
static

Definition at line 380 of file Hdf5Utils.cc.

◆ open()

void Arcane::Hdf5Utils::HGroup::open ( const Hid & loc_id,
const String & var )

Definition at line 443 of file Hdf5Utils.cc.

◆ openIfExists()

void Arcane::Hdf5Utils::HGroup::openIfExists ( const Hid & loc_id,
const Array< String > & var )

Definition at line 337 of file Hdf5Utils.cc.

◆ openOrCreate()

void Arcane::Hdf5Utils::HGroup::openOrCreate ( const Hid & loc_id,
const String & group_name )

Definition at line 431 of file Hdf5Utils.cc.

◆ operator=()

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

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

◆ recursiveCreate() [1/2]

void Arcane::Hdf5Utils::HGroup::recursiveCreate ( const Hid & loc_id,
const Array< String > & paths )

Definition at line 265 of file Hdf5Utils.cc.

◆ recursiveCreate() [2/2]

void Arcane::Hdf5Utils::HGroup::recursiveCreate ( const Hid & loc_id,
const String & var )

Definition at line 257 of file Hdf5Utils.cc.

◆ recursiveOpen()

void Arcane::Hdf5Utils::HGroup::recursiveOpen ( const Hid & loc_id,
const String & var )

Definition at line 313 of file Hdf5Utils.cc.


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