Quantum GIS API Documentation  1.8
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions | Public Attributes
QgsExpression::FunctionDef Struct Reference

#include <qgsexpression.h>

Collaboration diagram for QgsExpression::FunctionDef:
Collaboration graph
[legend]

List of all members.

Public Member Functions

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

Public Attributes

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

Detailed Description

Definition at line 178 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 180 of file qgsexpression.h.


Member Data Documentation

Pointer to fucntion.

Definition at line 187 of file qgsexpression.h.

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

The group the function belongs to.

Definition at line 191 of file qgsexpression.h.

Referenced by QgsExpressionBuilderWidget::QgsExpressionBuilderWidget().

The help text for the function.

Definition at line 193 of file qgsexpression.h.

The number of parameters this function takes.

Definition at line 185 of file qgsexpression.h.

Referenced by QgsExpression::NodeFunction::dump(), QgsExpressionBuilderWidget::QgsExpressionBuilderWidget(), and QgsExpression::NodeFunction::toOgcFilter().

Does this function use a geometry object.

Definition at line 189 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