##// END OF EJS Templates
Reads variable metadata to get the data type...
Reads variable metadata to get the data type The data type is then parsed to determine the value type expected when reading result file

File last commit:

r530:a08e6992e146
r533:a6f250cc335f
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