Utility class containing convenience methods for interacting with Hdf5 files.
#include <HDF5/hdf5utils.h>
|
static herr_t | errMsgCb (unsigned n, const H5E_error2_t *errDesc, void *clientData) |
|
static bool | openOrCreateDataset (hid_t &file, const QString datasetName, hid_t &dataset, const hid_t &type, const hid_t space) |
|
static bool | openOrCreateGroup (hid_t &file, const QString groupName, hid_t &group) |
|
static void | printErrorMsg (const QString &callingFuncMsg=QString("")) |
|
static bool | readAttributes (hid_t &file, const char *name, const char *attrName, hid_t typeId, void *buf) |
|
static bool | writeAttributes (hid_t &group, const char *tag, hid_t typeId, const void *buf) |
|
◆ errMsgCb()
herr_t errMsgCb |
( |
unsigned |
n, |
|
|
const H5E_error2_t * |
errDesc, |
|
|
void * |
clientData |
|
) |
| |
|
static |
◆ openOrCreateDataset()
bool openOrCreateDataset |
( |
hid_t & |
file, |
|
|
const QString |
datasetName, |
|
|
hid_t & |
dataset, |
|
|
const hid_t & |
type, |
|
|
const hid_t |
space |
|
) |
| |
|
static |
◆ openOrCreateGroup()
bool openOrCreateGroup |
( |
hid_t & |
file, |
|
|
const QString |
groupName, |
|
|
hid_t & |
group |
|
) |
| |
|
static |
◆ printErrorMsg()
void printErrorMsg |
( |
const QString & |
callingFuncMsg = QString("") | ) |
|
|
static |
◆ readAttributes()
bool readAttributes |
( |
hid_t & |
file, |
|
|
const char * |
name, |
|
|
const char * |
attrName, |
|
|
hid_t |
typeId, |
|
|
void * |
buf |
|
) |
| |
|
static |
◆ writeAttributes()
bool writeAttributes |
( |
hid_t & |
group, |
|
|
const char * |
tag, |
|
|
hid_t |
typeId, |
|
|
const void * |
buf |
|
) |
| |
|
static |