##// END OF EJS Templates
- Changes the way to retrieve unit in AMDA result file: The generated header in the result file differs from the first version...
- Changes the way to retrieve unit in AMDA result file: The generated header in the result file differs from the first version - Changes how to handle comment lines in file: Some comment lines do not have '#', so we now consider comments to end when the header of the data has been reached

File last commit:

r563:a08e6992e146
r774:c9e284499782
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