Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Add missing class declaration
- Loading branch information
Showing
with
23 additions
and
0 deletions.
-
+23
−0
src/core/expression/qgsexpressionfunction.h
|
@@ -521,6 +521,29 @@ class QgsArrayForeachExpressionFunction : public QgsExpressionFunction |
|
|
|
|
|
}; |
|
|
|
|
|
/** |
|
|
* Handles the ``array_foreach(array, expression)`` expression function. |
|
|
* It temporarily appends a new scope to the expression context. |
|
|
* |
|
|
* \ingroup core |
|
|
* \note Not available in Python bindings |
|
|
* \since QGIS 3.4 |
|
|
*/ |
|
|
class QgsArrayFilterExpressionFunction : public QgsExpressionFunction |
|
|
{ |
|
|
public: |
|
|
QgsArrayFilterExpressionFunction(); |
|
|
|
|
|
bool isStatic( const QgsExpressionNodeFunction *node, QgsExpression *parent, const QgsExpressionContext *context ) const override; |
|
|
|
|
|
QVariant run( QgsExpressionNode::NodeList *args, const QgsExpressionContext *context, QgsExpression *parent, const QgsExpressionNodeFunction *node ) override; |
|
|
|
|
|
QVariant func( const QVariantList &values, const QgsExpressionContext *context, QgsExpression *parent, const QgsExpressionNodeFunction *node ) override; |
|
|
|
|
|
bool prepare( const QgsExpressionNodeFunction *node, QgsExpression *parent, const QgsExpressionContext *context ) const override; |
|
|
|
|
|
}; |
|
|
|
|
|
/** |
|
|
* Handles the ``with_variable(name, value, node)`` expression function. |
|
|
* It temporarily appends a new scope to the expression context for all nested |
|
|