#include <qgsexpression.h>
Public Member Functions |
| StaticFunction (QString fnname, int params, FcnEval fcn, QString group, QString helpText=QString(), bool usesGeometry=false, QStringList referencedColumns=QStringList()) |
virtual QVariant | func (const QVariantList &values, const QgsFeature *f, QgsExpression *parent) |
| Function (QString fnname, int params, QString group, QString helpText=QString(), bool usesGeometry=false, QStringList referencedColumns=QStringList()) |
QString | name () |
| The name of the function.
|
int | params () |
| The number of parameters this function takes.
|
bool | usesgeometry () |
| Does this function use a geometry object.
|
virtual QStringList | referencedColumns () const |
QString | group () |
| The group the function belongs to.
|
QString | helptext () |
| The help text for the function.
|
bool | operator== (const Function &other) const |
Constructor & Destructor Documentation
QgsExpression::StaticFunction::StaticFunction |
( |
QString |
fnname, |
|
|
int |
params, |
|
|
FcnEval |
fcn, |
|
|
QString |
group, |
|
|
QString |
helpText = QString() , |
|
|
bool |
usesGeometry = false , |
|
|
QStringList |
referencedColumns = QStringList() |
|
) |
| |
|
inline |
Member Function Documentation
virtual QVariant QgsExpression::StaticFunction::func |
( |
const QVariantList & |
values, |
|
|
const QgsFeature * |
f, |
|
|
QgsExpression * |
parent |
|
) |
| |
|
inlinevirtual |
The documentation for this class was generated from the following file: