casacore
|
A class representing an HDF5 dataspace hid. More...
#include <HDF5HidMeta.h>
Public Member Functions | |
HDF5HidDataSpace () | |
Default constructor sets hid to invalid. More... | |
HDF5HidDataSpace (hid_t hid) | |
Construct from given hid. More... | |
~HDF5HidDataSpace () | |
The destructor closes the hid. More... | |
void | close () |
Close the hid if valid. More... | |
void | operator= (hid_t hid) |
Put hid in it. More... | |
hid_t | getHid () const |
Get the hid. More... | |
operator hid_t () const | |
Convert automatically to hid_t. More... | |
Private Member Functions | |
HDF5HidDataSpace (const HDF5HidDataSpace &that) | |
Copy constructor cannot be used. More... | |
HDF5HidDataSpace & | operator= (const HDF5HidDataSpace &that) |
Assignment cannot be used. More... | |
Private Attributes | |
hid_t | itsHid |
A class representing an HDF5 dataspace hid.
Internal
This class wraps an HDF5 dataspace hid (hdf5 id). It offers two benefits:
Definition at line 150 of file HDF5HidMeta.h.
|
inline |
Default constructor sets hid to invalid.
Definition at line 154 of file HDF5HidMeta.h.
|
inline |
Construct from given hid.
Definition at line 157 of file HDF5HidMeta.h.
|
inline |
|
private |
Copy constructor cannot be used.
void casacore::HDF5HidDataSpace::close | ( | ) |
Close the hid if valid.
Referenced by operator=(), and ~HDF5HidDataSpace().
|
inline |
|
inline |
|
private |
Assignment cannot be used.
|
inline |
Put hid in it.
If it already contains a hid, it will be closed.
Definition at line 165 of file HDF5HidMeta.h.
|
private |
Definition at line 179 of file HDF5HidMeta.h.
Referenced by getHid(), operator hid_t(), and operator=().