RAII class for HDF5 group.
More...
#include <mckl/utility/hdf5.hpp>
Inherits mckl::HDF5ID< HDF5Group >.
RAII class for HDF5 group.
Definition at line 196 of file hdf5.hpp.
◆ HDF5Group() [1/3]
| mckl::HDF5Group::HDF5Group |
( |
| ) |
|
|
default |
◆ HDF5Group() [2/3]
| mckl::HDF5Group::HDF5Group |
( |
const HDF5File & |
file, |
|
|
const std::string & |
groupname |
|
) |
| |
|
inline |
Open a group if possible, otherwise create a new one.
Definition at line 204 of file hdf5.hpp.
◆ HDF5Group() [3/3]
| mckl::HDF5Group::HDF5Group |
( |
const HDF5Group & |
group, |
|
|
const std::string & |
groupname |
|
) |
| |
|
inline |
Open a group if possible, otherwise create a new one.
Definition at line 220 of file hdf5.hpp.
◆ close()
| static void mckl::HDF5Group::close |
( |
::hid_t |
id | ) |
|
|
inlinestatic |
◆ copy()
◆ links()
| std::vector<std::string> mckl::HDF5Group::links |
( |
| ) |
const |
|
inline |
Get the names of all links in the group.
Definition at line 236 of file hdf5.hpp.
◆ size()
| std::size_t mckl::HDF5Group::size |
( |
| ) |
const |
|
inline |
Get the number of links in the group.
Definition at line 246 of file hdf5.hpp.