##// END OF EJS Templates
Parser refactoring (1)...
Parser refactoring (1) Creates a helper that will be used to read the properties and values of an AMDA file, to generate the dataset. The helper is intended to replace the current implementation of the parser, to be more generic and thus manage the spectrograms more easily

File last commit:

r563:a08e6992e146
r944:e1494a5194f1
Show More
AmdaResultParser.h
21 lines | 508 B | text/x-c | CLexer
#ifndef SCIQLOP_AMDARESULTPARSER_H
#define SCIQLOP_AMDARESULTPARSER_H
#include "AmdaGlobal.h"
#include <QLoggingCategory>
#include <memory>
class IDataSeries;
Q_DECLARE_LOGGING_CATEGORY(LOG_AmdaResultParser)
struct SCIQLOP_AMDA_EXPORT AmdaResultParser {
enum class ValueType { SCALAR, VECTOR, UNKNOWN };
static std::shared_ptr<IDataSeries> readTxt(const QString &filePath,
ValueType valueType) noexcept;
};
#endif // SCIQLOP_AMDARESULTPARSER_H