#include "cctwqtmainwindow.h"
#include "ui_cctwqtmainwindow.h"
#include <QLineEdit>
#include <QThread>
#include <QFileDialog>
#include <QMessageBox>
#include <QCloseEvent>
#include "qwt_plot_curve.h"
#include "qwt_legend.h"
#include "qwt_plot_panner.h"
#include "qwt_plot_magnifier.h"
#include "qwt_plot_zoomer.h"
#include "qwt_symbol.h"
#include "QtConcurrentRun"
#include "cctwdatachunk.h"
Go to the source code of this file.
static herr_t iterate_objects |
( |
hid_t |
o_id, |
|
|
const char * |
name, |
|
|
const H5O_info_t * |
object_info, |
|
|
void * |
op_data |
|
) |
| |
|
static |
Definition at line 334 of file cctwqtmainwindow.cpp.
Referenced by iterateHDF5datasets().
342 switch (object_info->type) {
343 case H5O_TYPE_DATASET:
345 QStringList *sl = (QStringList*)(op_data);
348 sl->append(QString(
"/%1").arg(name));
static QStringList iterateHDF5datasets |
( |
QString |
path | ) |
|
|
static |
Definition at line 357 of file cctwqtmainwindow.cpp.
References iterate_objects().
Referenced by CctwqtMainWindow::doCheckDataFile().
360 H5E_auto2_t old_func;
361 void *old_client_data;
363 H5Eget_auto(H5E_DEFAULT, &old_func, &old_client_data);
366 H5Eset_auto(H5E_DEFAULT, NULL, NULL);
370 hid_t file = H5Fopen(qPrintable(path), H5F_ACC_RDONLY, H5P_DEFAULT);
379 herr_t ret = H5Fclose(file);
382 H5Eset_auto(H5E_DEFAULT, old_func, old_client_data);
static herr_t iterate_objects(hid_t o_id, const char *name, const H5O_info_t *object_info, void *op_data)