RMF
RMF::HDF5::Handle Class Reference

Make sure an HDF5 handle is released. More...

#include <RMF/HDF5/handle.h>

Inheritance diagram for RMF::HDF5::Handle:

Public Member Functions

 Handle (hid_t h, HDF5CloseFunction f, std::string operation)
void close ()
hid_t get_hid () const
bool get_is_open () const
void open (hid_t h, HDF5CloseFunction f)
 operator hid_t () const

Detailed Description

CloseFunction should be an appropriate close function for the handle type, e.g. H5Aclose. Handle is not available in python.

Definition at line 40 of file handle.h.

Constructor & Destructor Documentation

◆ Handle() [1/2]

RMF::HDF5::Handle::Handle ( hid_t h,
HDF5CloseFunction f,
std::string operation )

Definition at line 45 of file handle.h.

◆ Handle() [2/2]

RMF::HDF5::Handle::Handle ( )

Definition at line 52 of file handle.h.

◆ ~Handle()

RMF::HDF5::Handle::~Handle ( )

Definition at line 78 of file handle.h.

Member Function Documentation

◆ close()

void RMF::HDF5::Handle::close ( )

Definition at line 67 of file handle.h.

◆ get_hid()

hid_t RMF::HDF5::Handle::get_hid ( ) const

Definition at line 53 of file handle.h.

◆ get_is_open()

bool RMF::HDF5::Handle::get_is_open ( ) const

Definition at line 58 of file handle.h.

◆ open()

void RMF::HDF5::Handle::open ( hid_t h,
HDF5CloseFunction f )

Definition at line 59 of file handle.h.

◆ operator hid_t()

RMF::HDF5::Handle::operator hid_t ( ) const

Definition at line 57 of file handle.h.


The documentation for this class was generated from the following file: