AmdaResultParserDefs.cpp
34 lines
| 1.6 KiB
| text/x-c
|
CppLexer
Alexandre Leroux
|
r987 | #include "AmdaResultParserDefs.h" | ||
Alexandre Leroux
|
r991 | const QString FILL_VALUE_PROPERTY = QStringLiteral("fillValue"); | ||
const QString MAX_BANDS_PROPERTY = QStringLiteral("maxBands"); | ||||
const QString MIN_BANDS_PROPERTY = QStringLiteral("minBands"); | ||||
const QString MAX_SAMPLING_PROPERTY = QStringLiteral("maxSampling"); | ||||
const QString MIN_SAMPLING_PROPERTY = QStringLiteral("minSampling"); | ||||
Alexandre Leroux
|
r987 | const QString X_AXIS_UNIT_PROPERTY = QStringLiteral("xAxisUnit"); | ||
Alexandre Leroux
|
r991 | const QString Y_AXIS_UNIT_PROPERTY = QStringLiteral("yAxisUnit"); | ||
const QString VALUES_UNIT_PROPERTY = QStringLiteral("valuesUnit"); | ||||
Alexandre Leroux
|
r987 | |||
const QRegularExpression DEFAULT_X_AXIS_UNIT_REGEX | ||||
= QRegularExpression{QStringLiteral("-\\s*Units\\s*:\\s*(.+?)\\s*-")}; | ||||
Alexandre Leroux
|
r991 | |||
const QRegularExpression SPECTROGRAM_FILL_VALUE_REGEX | ||||
= QRegularExpression{QStringLiteral("\\s*PARAMETER_FILL_VALUE\\s*:\\s*(.*)")}; | ||||
const QRegularExpression SPECTROGRAM_MAX_BANDS_REGEX | ||||
= QRegularExpression{QStringLiteral("\\s*PARAMETER_TABLE_MAX_VALUES\\[0\\]\\s*:\\s*(.*)")}; | ||||
const QRegularExpression SPECTROGRAM_MIN_BANDS_REGEX | ||||
= QRegularExpression{QStringLiteral("\\s*PARAMETER_TABLE_MIN_VALUES\\[0\\]\\s*:\\s*(.*)")}; | ||||
const QRegularExpression SPECTROGRAM_MAX_SAMPLING_REGEX | ||||
= QRegularExpression{QStringLiteral("\\s*DATASET_MAX_SAMPLING\\s*:\\s*(.*)")}; | ||||
const QRegularExpression SPECTROGRAM_MIN_SAMPLING_REGEX | ||||
= QRegularExpression{QStringLiteral("\\s*DATASET_MIN_SAMPLING\\s*:\\s*(.*)")}; | ||||
const QRegularExpression SPECTROGRAM_Y_AXIS_UNIT_REGEX | ||||
= QRegularExpression{QStringLiteral("\\s*PARAMETER_TABLE_UNITS\\[0\\]\\s*:\\s*(.*)")}; | ||||
const QRegularExpression SPECTROGRAM_VALUES_UNIT_REGEX | ||||
= QRegularExpression{QStringLiteral("\\s*PARAMETER_UNITS\\s*:\\s*(.*)")}; | ||||