QGIS API Documentation  3.14.0-Pi (9f7028fd23)
Macros | Typedefs | Functions
qgsexpressionfunction.cpp File Reference
#include <random>
#include "qgscoordinateformatter.h"
#include "qgsexpressionfunction.h"
#include "qgsexpressionutils.h"
#include "qgsexpressionnodeimpl.h"
#include "qgsfeaturerequest.h"
#include "qgsstringutils.h"
#include "qgsmultipoint.h"
#include "qgsgeometryutils.h"
#include "qgshstoreutils.h"
#include "qgsmultilinestring.h"
#include "qgslinestring.h"
#include "qgscurvepolygon.h"
#include "qgsmaptopixelgeometrysimplifier.h"
#include "qgspolygon.h"
#include "qgstriangle.h"
#include "qgscurve.h"
#include "qgsregularpolygon.h"
#include "qgsquadrilateral.h"
#include "qgsmultipolygon.h"
#include "qgsogcutils.h"
#include "qgsdistancearea.h"
#include "qgsgeometryengine.h"
#include "qgsexpressionsorter.h"
#include "qgssymbollayerutils.h"
#include "qgsstyle.h"
#include "qgsexception.h"
#include "qgsmessagelog.h"
#include "qgsrasterlayer.h"
#include "qgsvectorlayer.h"
#include "qgsrasterbandstats.h"
#include "qgscolorramp.h"
#include "qgsfieldformatterregistry.h"
#include "qgsfieldformatter.h"
#include "qgsvectorlayerfeatureiterator.h"
#include "qgsproviderregistry.h"
#include "sqlite3.h"
#include "qgstransaction.h"
#include "qgsthreadingutils.h"
#include "qgsapplication.h"
#include "qgis.h"
#include "qgsexpressioncontextutils.h"
#include "qgsunittypes.h"
Include dependency graph for qgsexpressionfunction.cpp:

Go to the source code of this file.

Macros

#define ENSURE_GEOM_TYPE(f, g, geomtype)
 

Typedefs

typedef QList< QgsExpressionFunction * > ExpressionFunctionList
 

Functions

QVariant fcnRampColor (const QVariantList &values, const QgsExpressionContext *, QgsExpression *parent, const QgsExpressionNodeFunction *)
 

Macro Definition Documentation

◆ ENSURE_GEOM_TYPE

#define ENSURE_GEOM_TYPE (   f,
  g,
  geomtype 
)
Value:
if ( !(f).hasGeometry() ) \
return QVariant(); \
QgsGeometry g = (f).geometry(); \
if ( (g).type() != (geomtype) ) \
return QVariant();

Definition at line 2256 of file qgsexpressionfunction.cpp.

Typedef Documentation

◆ ExpressionFunctionList

Definition at line 62 of file qgsexpressionfunction.cpp.

Function Documentation

◆ fcnRampColor()

QVariant fcnRampColor ( const QVariantList &  values,
const QgsExpressionContext ,
QgsExpression parent,
const QgsExpressionNodeFunction  
)

Definition at line 4504 of file qgsexpressionfunction.cpp.