MatioFilter
A description for MatioFilter.
-
class MatioFilter : public AbstractFileFilter
Manages the import/export of data from/to a Matio file.
Public Functions
-
void parse(const QString &fileName)
parses the content of the file
ileName.
-
virtual void readDataFromFile(const QString &fileName, AbstractDataSource* = nullptr, ImportMode = ImportMode::Replace) override
reads the content of the file
fileNameto the data sourcedataSource.
-
QVector<QStringList> readCurrentVar(const QString &fileName, AbstractDataSource* = nullptr, ImportMode = ImportMode::Replace, int lines = -1)
reads the content of the current variable from file
fileName.
-
virtual void write(const QString &fileName, AbstractDataSource*) override
writes the content of the data source
dataSourceto the filefileName.
-
virtual void save(QXmlStreamWriter*) const override
Saves as XML.
-
virtual bool load(XmlStreamReader*) override
Loads from XML.
-
void parse(const QString &fileName)