Field3D
|
Scoped object - opens a group on creation and closes it on destruction. More...
#include <Hdf5Util.h>
Public Member Functions | |
H5ScopedGopen () | |
H5ScopedGopen (hid_t parentLocation, const std::string &name) | |
H5ScopedGopen (hid_t parentLocation, const std::string &name, hid_t gapl_id) | |
void | open (hid_t parentLocation, const std::string &name) |
void | open (hid_t parentLocation, const std::string &name, hid_t gapl_id) |
~H5ScopedGopen () |
Scoped object - opens a group on creation and closes it on destruction.
Definition at line 176 of file Hdf5Util.h.
Hdf5Util::H5ScopedGopen::H5ScopedGopen | ( | ) | [inline] |
Definition at line 179 of file Hdf5Util.h.
: H5Base() { // Empty }
Hdf5Util::H5ScopedGopen::H5ScopedGopen | ( | hid_t | parentLocation, |
const std::string & | name | ||
) | [inline] |
Hdf5Util::H5ScopedGopen::H5ScopedGopen | ( | hid_t | parentLocation, |
const std::string & | name, | ||
hid_t | gapl_id | ||
) | [inline] |
Definition at line 188 of file Hdf5Util.h.
References open().
{ open(parentLocation, name, gapl_id); }
Hdf5Util::H5ScopedGopen::~H5ScopedGopen | ( | ) | [inline] |
Definition at line 201 of file Hdf5Util.h.
References Hdf5Util::H5Base::m_id.
void Hdf5Util::H5ScopedGopen::open | ( | hid_t | parentLocation, |
const std::string & | name | ||
) | [inline] |
Definition at line 192 of file Hdf5Util.h.
References Hdf5Util::H5Base::m_id.
Referenced by H5ScopedGopen().
{ m_id = H5Gopen(parentLocation, name.c_str(), H5P_DEFAULT); }
void Hdf5Util::H5ScopedGopen::open | ( | hid_t | parentLocation, |
const std::string & | name, | ||
hid_t | gapl_id | ||
) | [inline] |
Definition at line 196 of file Hdf5Util.h.
References Hdf5Util::H5Base::m_id.
{ m_id = H5Gopen(parentLocation, name.c_str(), gapl_id); }