##// END OF EJS Templates
Sets the name of the plugin for products and components...
Sets the name of the plugin for products and components Since there is only one common root in the data source widget, it is no longer possible to retrieve on the fly the name of the plugin in which a component or product is located. This name is therefore attached to their creation.

File last commit:

r985:c79a0203d10c
r1036:9c3bb5e93c54
Show More
AmdaResultParserDefs.cpp
42 lines | 2.0 KiB | text/x-c | CppLexer
/ plugins / amda / src / AmdaResultParserDefs.cpp
#include "AmdaResultParserDefs.h"
const QString END_TIME_PROPERTY = QStringLiteral("endTime");
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");
const QString START_TIME_PROPERTY = QStringLiteral("startTime");
const QString X_AXIS_UNIT_PROPERTY = QStringLiteral("xAxisUnit");
const QString Y_AXIS_UNIT_PROPERTY = QStringLiteral("yAxisUnit");
const QString VALUES_UNIT_PROPERTY = QStringLiteral("valuesUnit");
const QRegularExpression DEFAULT_X_AXIS_UNIT_REGEX
= QRegularExpression{QStringLiteral("-\\s*Units\\s*:\\s*(.+?)\\s*-")};
const QRegularExpression SPECTROGRAM_END_TIME_REGEX
= QRegularExpression{QStringLiteral("\\s*INTERVAL_STOP\\s*:\\s*(.*)")};
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_START_TIME_REGEX
= QRegularExpression{QStringLiteral("\\s*INTERVAL_START\\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*(.*)")};