#include <QObject>
#include <QString>
#include <cudata.h>
#include <vector>
Go to the source code of this file.
|
class | CuFormulaParserI |
| The CuFormulaParserI class provides methods to parse an expression, separating the list of sources that provide data from the formula itself, that combines the values of the sources to form a result. More...
|
|
class | CuFormulaPluginI |
| The CuFormulaPluginI defines an interface for a plugin that evaluates values obtained by cumbia sources and combined into a formula. More...
|
|
◆ CuFormulaPluginI_iid
#define CuFormulaPluginI_iid "eu.elettra.qutils.CuFormulaPluginI" |
◆ FORMULA_RE
Value: "^(?:\\[(.*)\\])?\\{([\\$A-Za-z0-9/,\\._\\-\\:\\s&\\(\\)>]+)\\}[\\s\\n]*(function)?[\\s\\n]*" \
"\\({0,1}([a-z,\\s]+)\\)[\\s\\n]*(.*)$"
◆ FORMULA_RE_CAP_FUN
#define FORMULA_RE_CAP_FUN 3 |
◆ FORMULA_RE_CAP_FUN_BODY
#define FORMULA_RE_CAP_FUN_BODY 5 |
◆ FORMULA_RE_CAP_FUN_PAR
#define FORMULA_RE_CAP_FUN_PAR 4 |
◆ FORMULA_RE_CAP_NAME
#define FORMULA_RE_CAP_NAME 1 |
◆ FORMULA_RE_CAP_SRCS
#define FORMULA_RE_CAP_SRCS 2 |
◆ FORMULA_RE_CAPTURES_CNT
#define FORMULA_RE_CAPTURES_CNT 6 |
◆ SIMPLIFIED_FORMULA_RE
#define SIMPLIFIED_FORMULA_RE "(?:\\[(.*)\\])?\\{(.+)\\}(\\s*function.*)" |
◆ SIMPLIFIED_FORMULA_RE_CAPTURES_CNT
#define SIMPLIFIED_FORMULA_RE_CAPTURES_CNT 4 |
◆ SIMPLIFIED_FORMULA_RE_FUN
#define SIMPLIFIED_FORMULA_RE_FUN 3 |
◆ SIMPLIFIED_FORMULA_RE_NAME
#define SIMPLIFIED_FORMULA_RE_NAME 1 |
◆ SIMPLIFIED_FORMULA_RE_SRCS
#define SIMPLIFIED_FORMULA_RE_SRCS 2 |