Quantum GIS API Documentation  master-d5dc331
QgsExpression::FunctionDef Struct Reference

#include <qgsexpression.h>

+ Collaboration diagram for QgsExpression::FunctionDef:

List of all members.

Public Member Functions

 FunctionDef (QString fnname, int params, FcnEval fcn, QString group, QString helpText=QString(), bool usesGeometry=false)

Public Attributes

FcnEval mFcn
 Pointer to funntion.
QString mGroup
 The group the function belongs to.
QString mHelpText
 The help text for the function.
QString mName
 The name of the function.
int mParams
 The number of parameters this function takes.
bool mUsesGeometry
 Does this function use a geometry object.

Detailed Description

Definition at line 206 of file qgsexpression.h.


Constructor & Destructor Documentation

QgsExpression::FunctionDef::FunctionDef ( QString  fnname,
int  params,
FcnEval  fcn,
QString  group,
QString  helpText = QString(),
bool  usesGeometry = false 
) [inline]

Definition at line 208 of file qgsexpression.h.


Member Data Documentation

Pointer to funntion.

Note:
not available in python bindings

Definition at line 217 of file qgsexpression.h.

Referenced by QgsExpression::NodeFunction::eval().

The group the function belongs to.

Definition at line 221 of file qgsexpression.h.

Referenced by QgsExpressionBuilderWidget::QgsExpressionBuilderWidget().

The help text for the function.

Definition at line 223 of file qgsexpression.h.

Does this function use a geometry object.

Definition at line 219 of file qgsexpression.h.


The documentation for this struct was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines