25#ifndef _GEMA_HDF5_UTILS_H_
26#define _GEMA_HDF5_UTILS_H_
68 const H5::DataType& type,
int* nlines = NULL,
int* ncolumns = NULL);
Declaration of useful configuration definitions for the Core library.
#define GMC_API_EXPORT
Macro for controlling if the class is being exported (GEMA_CORE_LIB defined) or imported (GEMA_CORE_L...
Definition gmCoreConfig.h:35
H5O_type_t childObjectType(H5::H5Object *father, const QString &childName)
Returns the type of the given object (name relative to the given father). If the named child doesn't ...
Definition gmHdf5Utils.cpp:307
bool loadStringTable(H5::H5File *file, const QString &dsName, QStringList &values)
Loads the contents of the given string table to the values list. Returns false on error....
Definition gmHdf5Utils.cpp:447
bool checkTableLayout(H5::H5Object *father, const QString &childName, int ncol, const H5::DataType &type, int *nlines, int *ncolumns)
Returns true if the table specified by a father object and its child path exists, has the given numbe...
Definition gmHdf5Utils.cpp:364
QVector< QPair< QString, H5O_type_t > > listObjectChildren(H5::H5Object *object)
Returns a list of object's children, together with their types. Might throw an HDF5 exception.
Definition gmHdf5Utils.cpp:423
bool saveDataTable(H5::H5File *file, const QString &dsName, int n, int d, const double *values)
Saves the complete set of given values to a new table with d columns and n lines. Expects the data ve...
Definition gmHdf5Utils.cpp:205
void addAttribute(H5::H5Object *obj, const QString &name, int value)
Adds an int attribute to the given object. Might throw an HDF5 exception.
Definition gmHdf5Utils.cpp:68
QVariant loadAttribute(H5::H5Object *obj, const QString &name)
Returns the value of the given object attribute as a Variant object. Returns an invalid variant if th...
Definition gmHdf5Utils.cpp:265
bool tableSize(H5::H5Object *father, const QString &childName, hsize_t sizes[2])
Returns the dimensions of the given table object (name relative to the given father)....
Definition gmHdf5Utils.cpp:326
bool loadDataTable(H5::H5File *file, const QString &dsName, int valuesSize, double *values, int offset)
Loads the specified number of values from the specified table, starting at the given offset....
Definition gmHdf5Utils.cpp:527
bool saveStringTable(H5::H5File *file, const QString &dsName, const QStringList &values)
Saves the complete set of given values to a new table with one string column. Returns false on error ...
Definition gmHdf5Utils.cpp:158