QGIS API Documentation 3.41.0-Master (fda2aa46e9a)
Loading...
Searching...
No Matches
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 "qgsvariantutils.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 "qgsvectorlayerutils.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>
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
 
typedef bool(QgsGeometry::* RelationFunction) (const QgsGeometry &geometry) const
 

Functions

QVariant fcnRampColor (const QVariantList &values, const QgsExpressionContext *context, QgsExpression *parent, const QgsExpressionNodeFunction *node)
 
QVariant fcnRampColorObject (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();
A geometry is the spatial representation of a feature.

Definition at line 2926 of file qgsexpressionfunction.cpp.

Typedef Documentation

◆ ExpressionFunctionList

Definition at line 75 of file qgsexpressionfunction.cpp.

◆ RelationFunction

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

Definition at line 7715 of file qgsexpressionfunction.cpp.

Function Documentation

◆ fcnRampColor()

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

Definition at line 6098 of file qgsexpressionfunction.cpp.

◆ fcnRampColorObject()

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

Definition at line 6073 of file qgsexpressionfunction.cpp.