QGIS API Documentation  2.7.0-Master
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Public Member Functions | List of all members
QgsExpression::StaticFunction Class Reference

#include <qgsexpression.h>

Inheritance diagram for QgsExpression::StaticFunction:
Inheritance graph
[legend]

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)
 
- Public Member Functions inherited from QgsExpression::Function
 Function (QString fnname, int params, QString group, QString helpText=QString(), bool usesGeometry=false, QStringList referencedColumns=QStringList())
 
QString group ()
 The group the function belongs to. More...
 
QString helptext ()
 The help text for the function. 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...
 

Detailed Description

Definition at line 293 of file qgsexpression.h.

Constructor & Destructor Documentation

QgsExpression::StaticFunction::StaticFunction ( QString  fnname,
int  params,
FcnEval  fcn,
QString  group,
QString  helpText = QString(),
bool  usesGeometry = false,
QStringList  referencedColumns = QStringList() 
)
inline

Definition at line 296 of file qgsexpression.h.

Member Function Documentation

virtual QVariant QgsExpression::StaticFunction::func ( const QVariantList &  values,
const QgsFeature f,
QgsExpression parent 
)
inlinevirtual

Implements QgsExpression::Function.

Definition at line 299 of file qgsexpression.h.


The documentation for this class was generated from the following file: