A reference-counted HDF5 handle object, superclass for eg File, Dataset, Attribute, etc.
More...
#include <mpqc/file.hpp>
|
| Object () |
| Default constructor with an invalid handle.
|
|
| Object (const Object &o) |
| Copy constructor.
|
|
| Object (const Object &parent, hid_t id, void(*close)(hid_t), bool increment) |
|
void | operator= (const Object &o) |
|
hid_t | id () const |
|
const Object & | parent () const |
|
hid_t | file () const |
|
| operator bool () const |
|
|
static std::string | filename (hid_t id) |
|
|
template<class F > |
void | update (hid_t id, F close, bool increment) |
|
|
std::auto_ptr< Object > | parent_ |
|
hid_t | id_ |
|
void(* | close_ )(hid_t) |
|
A reference-counted HDF5 handle object, superclass for eg File, Dataset, Attribute, etc.
◆ Object()
mpqc::detail::File::Object::Object |
( |
const Object & |
parent, |
|
|
hid_t |
id, |
|
|
void(*)(hid_t) |
close, |
|
|
bool |
increment |
|
) |
| |
|
inline |
- Parameters
-
parent | Parent object |
id | HDF5 id |
close | Function pointer called when reference count reaches 0 |
increment | Flag to increment (or not) the reference count |
References Object().
The documentation for this struct was generated from the following file: