Skip to content
Permalink
Browse files

Add missing class declaration

  • Loading branch information
m-kuhn committed Aug 23, 2018
1 parent edc2724 commit 81587e10dcfee0b28dc52295c9108544c54b2bd6
Showing with 23 additions and 0 deletions.
  1. +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

0 comments on commit 81587e1

Please sign in to comment.
You can’t perform that action at this time.