HDF5Filter

A description for HDF5Filter.

class HDF5Filter : public AbstractFileFilter

Manages the import/export of data from/to a HDF5 file.

Public Functions

int parse(const QString &fileName, QTreeWidgetItem *rootItem)

parses the content of the file fileName.

virtual void readDataFromFile(const QString &fileName, AbstractDataSource* = nullptr, ImportMode = ImportMode::Replace) override

reads the content of the file fileName to the data source dataSource.

QVector<QStringList> readCurrentDataSet(const QString &fileName, AbstractDataSource*, bool &ok, ImportMode = ImportMode::Replace, int lines = -1)

reads the content of the data set dataSet from file fileName.

virtual void write(const QString &fileName, AbstractDataSource*) override

writes the content of the data source dataSource to the file fileName.

virtual void save(QXmlStreamWriter*) const override

Saves as XML.

virtual bool load(XmlStreamReader*) override

Loads from XML.

Public Static Functions

static QString fileDDLString(const QString&)

Get file content in DDL (Data Description Language) format uses “h5dump”