#include <Hdf5Resource.h>

Public Member Functions | |
| Hdf5AttributeResource (hid_t attribute) | |
| Hdf5AttributeResource () | |
| operator hid_t * () | |
This is a Resource class that closes HDF5 attributes. It has a conversion operator to allow a Hdf5AttributeResource object to be used where ever a hid_t that represents an open HDF5 attribute Handle may be used.
Definition at line 456 of file Hdf5Resource.h.
| Hdf5AttributeResource::Hdf5AttributeResource | ( | hid_t | attribute | ) |
Construct a Resource object that wraps a hid_t HDF5 Attribute Handle.
This will take ownership of an existing hid_t attribute handle and will ensure that it is closed.
| attribute | The HDF5 attribute handle. |
Definition at line 468 of file Hdf5Resource.h.
| Hdf5AttributeResource::Hdf5AttributeResource | ( | ) |
| Hdf5AttributeResource::operator hid_t * | ( | ) |
Returns a pointer to the underlying hid_t held by this Resource.
Returns a pointer to the underlying hid_t. This operator, used in conjunction with the dereferencing operator, allows the Hdf5AttributeResource object to be used where ever a hid_t would normally be used.
Definition at line 491 of file Hdf5Resource.h.