|
Mantid
|
A very simple wrapper that holds an HDF5 object through its hid_t. More...
#include <UniqueID.h>
Public Member Functions | |
| hid_t | get () const |
| Return the managed HDF5 handle. | |
| Hdf5ID () noexcept | |
| Hdf5ID (hid_t const id) noexcept | |
| bool | isValid () const |
| Return whether the UniqueId corresponds to a valid HDF5 object. | |
| operator hid_t () const | |
| bool | operator!= (hid_t const id) const |
| bool | operator< (hid_t const id) const |
| bool | operator<= (hid_t const id) const |
| bool | operator== (hid_t const id) const |
Protected Member Functions | |
| void | close () |
| Close the held object ID. | |
| void | close () |
| Close a held file ID, and also call garbage collection. | |
Protected Attributes | |
| hid_t | m_id |
A very simple wrapper that holds an HDF5 object through its hid_t.
Definition at line 30 of file UniqueID.h.
|
inlinenoexcept |
Definition at line 38 of file UniqueID.h.
|
inlinenoexcept |
Definition at line 39 of file UniqueID.h.
|
inlineprotected |
Close the held object ID.
Definition at line 64 of file UniqueID.h.
References Mantid::Nexus::INVALID_HID.
Referenced by Mantid::Nexus::UniqueID< D >::~UniqueID().
|
inlineprotected |
Close a held file ID, and also call garbage collection.
Definition at line 72 of file UniqueID.h.
References H5Fclose(), H5garbage_collect(), and Mantid::Nexus::INVALID_HID.
|
inline |
Return the managed HDF5 handle.
Definition at line 49 of file UniqueID.h.
References Mantid::Nexus::Hdf5ID< D >::m_id.
Referenced by Mantid::Nexus::NexusDescriptorLazy::loadGroups().
|
inline |
Return whether the UniqueId corresponds to a valid HDF5 object.
Definition at line 53 of file UniqueID.h.
References H5Iis_valid(), and Mantid::Nexus::Hdf5ID< D >::m_id.
Referenced by Mantid::Nexus::NexusDescriptorLazy::initAllEntries(), and Mantid::Nexus::NexusDescriptorLazy::loadGroups().
|
inline |
Definition at line 50 of file UniqueID.h.
References Mantid::Nexus::Hdf5ID< D >::m_id.
|
inline |
Definition at line 43 of file UniqueID.h.
References Mantid::Nexus::Hdf5ID< D >::m_id.
|
inline |
Definition at line 45 of file UniqueID.h.
References Mantid::Nexus::Hdf5ID< D >::m_id.
|
inline |
Definition at line 44 of file UniqueID.h.
References Mantid::Nexus::Hdf5ID< D >::m_id.
|
inline |
Definition at line 42 of file UniqueID.h.
References Mantid::Nexus::Hdf5ID< D >::m_id.
|
protected |
Definition at line 32 of file UniqueID.h.
Referenced by Mantid::Nexus::Hdf5ID< D >::get(), Mantid::Nexus::Hdf5ID< D >::isValid(), Mantid::Nexus::Hdf5ID< D >::operator hid_t(), Mantid::Nexus::Hdf5ID< D >::operator!=(), Mantid::Nexus::Hdf5ID< D >::operator<(), Mantid::Nexus::Hdf5ID< D >::operator<=(), Mantid::Nexus::Hdf5ID< D >::operator==(), Mantid::Nexus::SharedID< D >::operator==(), Mantid::Nexus::SharedID< D >::reset(), Mantid::Nexus::SharedID< D >::SharedID(), and Mantid::Nexus::UniqueID< D >::UniqueID().