|
QGIS API Documentation
2.12.0-Lyon
|
#include <qgsexpression.h>

Public Member Functions | |
| Q_DECL_DEPRECATED | StaticFunction (const QString &fnname, int params, FcnEval fcn, const QString &group, const QString &helpText=QString(), bool usesGeometry=false, const QStringList &referencedColumns=QStringList(), bool lazyEval=false, const QStringList &aliases=QStringList(), bool handlesNull=false) |
| StaticFunction (const QString &fnname, int params, FcnEvalContext fcn, const QString &group, const QString &helpText=QString(), bool usesGeometry=false, const QStringList &referencedColumns=QStringList(), bool lazyEval=false, const QStringList &aliases=QStringList(), bool handlesNull=false) | |
| Static function for evaluation against a QgsExpressionContext. More... | |
| virtual | ~StaticFunction () |
| virtual QStringList | aliases () const override |
| Returns a list of possible aliases for the function. More... | |
| virtual Q_DECL_DEPRECATED QVariant | func (const QVariantList &values, const QgsFeature *f, QgsExpression *parent) override |
| virtual QVariant | func (const QVariantList &values, const QgsExpressionContext *context, QgsExpression *parent) override |
| Returns result of evaluating the function. More... | |
Public Member Functions inherited from QgsExpression::Function | |
| Function (const QString &fnname, int params, const QString &group, const QString &helpText=QString(), bool usesGeometry=false, const QStringList &referencedColumns=QStringList(), bool lazyEval=false, bool handlesNull=false, bool isContextual=false) | |
| virtual | ~Function () |
| QString | group () |
| The group the function belongs to. More... | |
| virtual bool | handlesNull () const |
| const QString | helptext () |
| The help text for the function. More... | |
| bool | isContextual () const |
| Returns whether the function is only available if provided by a QgsExpressionContext object. More... | |
| bool | lazyEval () |
| True if this function should use lazy evaluation. More... | |
| QString | name () |
| The name of the function. More... | |
| bool | operator== (const Function &other) const |
| int | params () |
| The number of parameters this function takes. More... | |
| virtual QStringList | referencedColumns () const |
| bool | usesgeometry () |
| Does this function use a geometry object. More... | |
Definition at line 442 of file qgsexpression.h.
|
inline |
Definition at line 445 of file qgsexpression.h.
|
inlinevirtual |
Definition at line 461 of file qgsexpression.h.
|
inline |
Static function for evaluation against a QgsExpressionContext.
Definition at line 465 of file qgsexpression.h.
|
inlineoverridevirtual |
Returns a list of possible aliases for the function.
These include other permissible names for the function, eg deprecated names.
Reimplemented from QgsExpression::Function.
Definition at line 494 of file qgsexpression.h.
|
overridevirtual |
Reimplemented from QgsExpression::Function.
Definition at line 3738 of file qgsexpression.cpp.
|
inlineoverridevirtual |
Returns result of evaluating the function.
| values | list of values passed to the function |
| context | context expression is being evaluated against |
| parent | parent expression |
Reimplemented from QgsExpression::Function.
Definition at line 489 of file qgsexpression.h.
1.8.9.1