Autocloses hid_t types using closefunc() on destruction, and keeps a reference count. More...
#include <hid_gc.h>
Public Member Functions | |
hid_gc (hid_t hid, hid_t(*closefunc)(hid_t)=0, const std::string &errordesc="") | |
hid_gc (const hid_gc &other) | |
hid_gc & | operator= (hid_gc other) |
operator hid_t () const | |
Get the hid from a hid_gc object. For implicit conversions. | |
bool | isset () const |
Friends | |
void | swap (hid_gc &first, hid_gc &second) |
Autocloses hid_t types using closefunc() on destruction, and keeps a reference count.
bool dal::hid_gc::isset | ( | ) | const [inline] |
Returns true if this object wraps a hid.