#include <Hdf5Resource.h>
Public Member Functions | |
| hid_t * | obtainResource (const Args &args) const |
| void | closeResourceRecursive (hid_t handle) const |
| void | releaseResource (const Args &args, hid_t *pHandle) const |
Classes | |
| struct | Args |
| This is an implementation detail of the Hdf5TypeObject class. More... | |
The Hdf5TypeObject is a trait object for use with the Resource template. It provides capability for closing HDF5 types.
Definition at line 504 of file Hdf5Resource.h.
| hid_t* Hdf5TypeObject::obtainResource | ( | const Args & | args | ) | const |
Obtains an HDF5 type.
See Resource.h for details.
| args | The arguments for obtaining the resource. Should be of type Hdf5TypeObject::Args. |
Definition at line 531 of file Hdf5Resource.h.
| void Hdf5TypeObject::closeResourceRecursive | ( | hid_t | handle | ) | const |
Closes an open HDF5 type.
If the given type is a compound dataset, the close will be recursive on all of the member types.
| handle | The open HDF5 type to close. |
Definition at line 545 of file Hdf5Resource.h.
| void Hdf5TypeObject::releaseResource | ( | const Args & | args, | |
| hid_t * | pHandle | |||
| ) | const |
Releases an HDF5 type.
See Resource.h for details.
| args | The arguments for releasing the resource. Should be of type Hdf5TypeObject::Args. | |
| pHandle | A pointer to the handle to be freed. |
Definition at line 570 of file Hdf5Resource.h.