libSplash
|
#include <H5IdWrapper.hpp>
Public Types | |
typedef T_DestructionPolicy< hid_t > | DestructionPolicy |
Public Member Functions | |
H5IdWrapper (hid_t id) | |
H5IdWrapper (const H5IdWrapper &rhs) | |
H5IdWrapper & | operator= (const H5IdWrapper &rhs) |
void | close () |
void | reset (hid_t id) |
hid_t | release () |
operator hid_t () const | |
operator bool () const | |
Friends | |
void | swap (H5IdWrapper &lhs, H5IdWrapper &rhs) |
RAII wrapper for a hid_t (HDF5 identifier) Calls T_CloseMethod on destruction and allows implicit conversion Calls T_DestructionPolicy::copy on copy which should return the id to store Calls T_DestructionPolicy::release on close/destruction which should return true if the handle should be closed
Definition at line 90 of file H5IdWrapper.hpp.
|
inline |
Sets the id to invalid closing it if required
Definition at line 118 of file H5IdWrapper.hpp.
|
inline |
Resets the internal id to invalid without closing it.
Definition at line 132 of file H5IdWrapper.hpp.
|
inline |
Resets the id closing the current one if required
Definition at line 124 of file H5IdWrapper.hpp.