QGIS API Documentation  3.24.2-Tisler (13c1a02865)
Macros | Typedefs | Functions
qgsexpressionfunction.cpp File Reference
#include <random>
#include "qgscoordinateformatter.h"
#include "qgscoordinateutils.h"
#include "qgsexpressionfunction.h"
#include "qgsexpressionutils.h"
#include "qgsexpressionnodeimpl.h"
#include "qgsexiftools.h"
#include "qgsfeaturerequest.h"
#include "qgsgeos.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_p.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 "qgsspatialindex.h"
#include "qgscolorrampimpl.h"
#include <QMimeDatabase>
#include <QProcessEnvironment>
#include <QCryptographicHash>
#include <QRegularExpression>
#include <QUuid>
#include <QUrlQuery>

Go to the source code of this file.

Macros

#define ENSURE_GEOM_TYPE(f, g, geomtype)
 

Typedefs

typedef QList< QgsExpressionFunction * > ExpressionFunctionList
 
typedef bool(QgsGeometry::* RelationFunction) (const QgsGeometry &geometry) const
 

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 2489 of file qgsexpressionfunction.cpp.

Typedef Documentation

◆ ExpressionFunctionList

Definition at line 74 of file qgsexpressionfunction.cpp.

◆ RelationFunction

typedef bool( QgsGeometry::* RelationFunction) (const QgsGeometry &geometry) const

Definition at line 6736 of file qgsexpressionfunction.cpp.

Function Documentation

◆ fcnRampColor()

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

Definition at line 5205 of file qgsexpressionfunction.cpp.