QGIS API Documentation  2.8.2-Wien
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Macros | Enumerations | Functions | Variables
qgsexpression.cpp File Reference
#include "qgsexpression.h"
#include <QtDebug>
#include <QDomDocument>
#include <QDate>
#include <QRegExp>
#include <QColor>
#include <QUuid>
#include <math.h>
#include <limits>
#include "qgsdistancearea.h"
#include "qgsfeature.h"
#include "qgsgeometry.h"
#include "qgslogger.h"
#include "qgsmaplayerregistry.h"
#include "qgsogcutils.h"
#include "qgsvectorlayer.h"
#include "qgssymbollayerv2utils.h"
#include "qgsvectorcolorrampv2.h"
#include "qgsstylev2.h"
Include dependency graph for qgsexpression.cpp:

Go to the source code of this file.

Macros

#define ENSURE_GEOM_TYPE(f, g, geomtype)
#define ENSURE_NO_EVAL_ERROR   { if (parent->hasEvalError()) return QVariant(); }
#define SET_EVAL_ERROR(x)   { parent->setEvalErrorString(x); return QVariant(); }
#define TVL_False   QVariant(0)
#define TVL_True   QVariant(1)
#define TVL_Unknown   QVariant()

Enumerations

enum  TVL { False, True, Unknown }

Functions

static QVariant fcnAbs (const QVariantList &values, const QgsFeature *, QgsExpression *parent)
static QVariant fcnAcos (const QVariantList &values, const QgsFeature *, QgsExpression *parent)
static QVariant fcnAge (const QVariantList &values, const QgsFeature *, QgsExpression *parent)
static QVariant fcnAsin (const QVariantList &values, const QgsFeature *, QgsExpression *parent)
static QVariant fcnAtan (const QVariantList &values, const QgsFeature *, QgsExpression *parent)
static QVariant fcnAtan2 (const QVariantList &values, const QgsFeature *, QgsExpression *parent)
static QVariant fcnAttribute (const QVariantList &values, const QgsFeature *, QgsExpression *parent)
static QVariant fcnBbox (const QVariantList &values, const QgsFeature *, QgsExpression *parent)
static QVariant fcnBounds (const QVariantList &values, const QgsFeature *, QgsExpression *parent)
static QVariant fcnBoundsHeight (const QVariantList &values, const QgsFeature *, QgsExpression *parent)
static QVariant fcnBoundsWidth (const QVariantList &values, const QgsFeature *, QgsExpression *parent)
static QVariant fcnBuffer (const QVariantList &values, const QgsFeature *, QgsExpression *parent)
static QVariant fcnCeil (const QVariantList &values, const QgsFeature *, QgsExpression *parent)
static QVariant fcnCentroid (const QVariantList &values, const QgsFeature *, QgsExpression *parent)
static QVariant fcnClamp (const QVariantList &values, const QgsFeature *, QgsExpression *parent)
static QVariant fcnCoalesce (const QVariantList &values, const QgsFeature *, QgsExpression *)
static QVariant fcnColorCmyk (const QVariantList &values, const QgsFeature *, QgsExpression *parent)
static QVariant fcnColorHsl (const QVariantList &values, const QgsFeature *, QgsExpression *parent)
static QVariant fcnColorHsv (const QVariantList &values, const QgsFeature *, QgsExpression *parent)
static QVariant fcnColorRgb (const QVariantList &values, const QgsFeature *, QgsExpression *parent)
static QVariant fcnCombine (const QVariantList &values, const QgsFeature *, QgsExpression *parent)
static QVariant fcnConcat (const QVariantList &values, const QgsFeature *, QgsExpression *parent)
static QVariant fcnContains (const QVariantList &values, const QgsFeature *, QgsExpression *parent)
static QVariant fcnConvexHull (const QVariantList &values, const QgsFeature *, QgsExpression *parent)
static QVariant fcnCos (const QVariantList &values, const QgsFeature *, QgsExpression *parent)
static QVariant fcnCrosses (const QVariantList &values, const QgsFeature *, QgsExpression *parent)
static QVariant fcnDay (const QVariantList &values, const QgsFeature *, QgsExpression *parent)
static QVariant fcnDifference (const QVariantList &values, const QgsFeature *, QgsExpression *parent)
static QVariant fcnDisjoint (const QVariantList &values, const QgsFeature *, QgsExpression *parent)
static QVariant fcnDistance (const QVariantList &values, const QgsFeature *, QgsExpression *parent)
static QVariant fcnExp (const QVariantList &values, const QgsFeature *, QgsExpression *parent)
static QVariant fcnExpScale (const QVariantList &values, const QgsFeature *, QgsExpression *parent)
static QVariant fcnFeature (const QVariantList &, const QgsFeature *f, QgsExpression *)
static QVariant fcnFeatureId (const QVariantList &, const QgsFeature *f, QgsExpression *)
static QVariant fcnFloor (const QVariantList &values, const QgsFeature *, QgsExpression *parent)
static QVariant fcnFormatDate (const QVariantList &values, const QgsFeature *, QgsExpression *parent)
static QVariant fcnFormatNumber (const QVariantList &values, const QgsFeature *, QgsExpression *parent)
static QVariant fcnFormatString (const QVariantList &values, const QgsFeature *, QgsExpression *parent)
static QVariant fcnGeomArea (const QVariantList &, const QgsFeature *f, QgsExpression *parent)
static QVariant fcnGeometry (const QVariantList &, const QgsFeature *f, QgsExpression *)
static QVariant fcnGeomFromGML (const QVariantList &values, const QgsFeature *, QgsExpression *parent)
static QVariant fcnGeomFromWKT (const QVariantList &values, const QgsFeature *, QgsExpression *parent)
static QVariant fcnGeomLength (const QVariantList &, const QgsFeature *f, QgsExpression *parent)
static QVariant fcnGeomPerimeter (const QVariantList &, const QgsFeature *f, QgsExpression *parent)
static QVariant fcnGeomToWKT (const QVariantList &values, const QgsFeature *, QgsExpression *parent)
static QVariant fcnGetFeature (const QVariantList &values, const QgsFeature *, QgsExpression *parent)
static QVariant fcnGetGeometry (const QVariantList &values, const QgsFeature *, QgsExpression *parent)
static QVariant fcnHour (const QVariantList &values, const QgsFeature *, QgsExpression *parent)
static QVariant fcnIf (const QVariantList &values, const QgsFeature *f, QgsExpression *parent)
static QVariant fcnIntersection (const QVariantList &values, const QgsFeature *, QgsExpression *parent)
static QVariant fcnIntersects (const QVariantList &values, const QgsFeature *, QgsExpression *parent)
static QVariant fcnLeft (const QVariantList &values, const QgsFeature *, QgsExpression *parent)
static QVariant fcnLength (const QVariantList &values, const QgsFeature *, QgsExpression *parent)
static QVariant fcnLinearScale (const QVariantList &values, const QgsFeature *, QgsExpression *parent)
static QVariant fcnLn (const QVariantList &values, const QgsFeature *, QgsExpression *parent)
static QVariant fcnLog (const QVariantList &values, const QgsFeature *, QgsExpression *parent)
static QVariant fcnLog10 (const QVariantList &values, const QgsFeature *, QgsExpression *parent)
static QVariant fcnLower (const QVariantList &values, const QgsFeature *, QgsExpression *parent)
static QVariant fcnLPad (const QVariantList &values, const QgsFeature *, QgsExpression *parent)
static QVariant fcnMax (const QVariantList &values, const QgsFeature *, QgsExpression *parent)
static QVariant fcnMin (const QVariantList &values, const QgsFeature *, QgsExpression *parent)
static QVariant fcnMinute (const QVariantList &values, const QgsFeature *, QgsExpression *parent)
static QVariant fcnMonth (const QVariantList &values, const QgsFeature *, QgsExpression *parent)
static QVariant fcnNow (const QVariantList &, const QgsFeature *, QgsExpression *)
static QVariant fcnOverlaps (const QVariantList &values, const QgsFeature *, QgsExpression *parent)
static QVariant fcnPi (const QVariantList &values, const QgsFeature *f, QgsExpression *parent)
QVariant fcnRampColor (const QVariantList &values, const QgsFeature *, QgsExpression *parent)
static QVariant fcnRegexpMatch (const QVariantList &values, const QgsFeature *, QgsExpression *parent)
static QVariant fcnRegexpReplace (const QVariantList &values, const QgsFeature *, QgsExpression *parent)
static QVariant fcnRegexpSubstr (const QVariantList &values, const QgsFeature *, QgsExpression *parent)
static QVariant fcnReplace (const QVariantList &values, const QgsFeature *, QgsExpression *parent)
static QVariant fcnRight (const QVariantList &values, const QgsFeature *, QgsExpression *parent)
static QVariant fcnRnd (const QVariantList &values, const QgsFeature *, QgsExpression *parent)
static QVariant fcnRndF (const QVariantList &values, const QgsFeature *, QgsExpression *parent)
static QVariant fcnRound (const QVariantList &values, const QgsFeature *f, QgsExpression *parent)
static QVariant fcnRowNumber (const QVariantList &, const QgsFeature *, QgsExpression *parent)
static QVariant fcnRPad (const QVariantList &values, const QgsFeature *, QgsExpression *parent)
static QVariant fcnScale (const QVariantList &, const QgsFeature *, QgsExpression *parent)
static QVariant fcnSeconds (const QVariantList &values, const QgsFeature *, QgsExpression *parent)
static QVariant fcnSin (const QVariantList &values, const QgsFeature *, QgsExpression *parent)
static QVariant fcnSpecialColumn (const QVariantList &values, const QgsFeature *, QgsExpression *parent)
static QVariant fcnSqrt (const QVariantList &values, const QgsFeature *, QgsExpression *parent)
static QVariant fcnStrpos (const QVariantList &values, const QgsFeature *, QgsExpression *parent)
static QVariant fcnSubstr (const QVariantList &values, const QgsFeature *, QgsExpression *parent)
static QVariant fcnSymDifference (const QVariantList &values, const QgsFeature *, QgsExpression *parent)
static QVariant fcnTan (const QVariantList &values, const QgsFeature *, QgsExpression *parent)
static QVariant fcnTitle (const QVariantList &values, const QgsFeature *, QgsExpression *parent)
static QVariant fcnToDate (const QVariantList &values, const QgsFeature *, QgsExpression *parent)
static QVariant fcnToDateTime (const QVariantList &values, const QgsFeature *, QgsExpression *parent)
static QVariant fcnToInt (const QVariantList &values, const QgsFeature *, QgsExpression *parent)
static QVariant fcnToInterval (const QVariantList &values, const QgsFeature *, QgsExpression *parent)
static QVariant fcnToReal (const QVariantList &values, const QgsFeature *, QgsExpression *parent)
static QVariant fcnToString (const QVariantList &values, const QgsFeature *, QgsExpression *parent)
static QVariant fcnToTime (const QVariantList &values, const QgsFeature *, QgsExpression *parent)
static QVariant fcnTouches (const QVariantList &values, const QgsFeature *, QgsExpression *parent)
static QVariant fcnTransformGeometry (const QVariantList &values, const QgsFeature *, QgsExpression *parent)
static QVariant fcnTrim (const QVariantList &values, const QgsFeature *, QgsExpression *parent)
static QVariant fcnUpper (const QVariantList &values, const QgsFeature *, QgsExpression *parent)
static QVariant fcnUuid (const QVariantList &, const QgsFeature *, QgsExpression *)
static QVariant fcnWeek (const QVariantList &values, const QgsFeature *, QgsExpression *parent)
static QVariant fcnWithin (const QVariantList &values, const QgsFeature *, QgsExpression *parent)
static QVariant fcnWordwrap (const QVariantList &values, const QgsFeature *, QgsExpression *parent)
static QVariant fcnX (const QVariantList &, const QgsFeature *f, QgsExpression *)
static QVariant fcnXat (const QVariantList &values, const QgsFeature *f, QgsExpression *parent)
static QVariant fcnXMax (const QVariantList &values, const QgsFeature *, QgsExpression *parent)
static QVariant fcnXMin (const QVariantList &values, const QgsFeature *, QgsExpression *parent)
static QVariant fcnY (const QVariantList &, const QgsFeature *f, QgsExpression *)
static QVariant fcnYat (const QVariantList &values, const QgsFeature *f, QgsExpression *parent)
static QVariant fcnYear (const QVariantList &values, const QgsFeature *, QgsExpression *parent)
static QVariant fcnYMax (const QVariantList &values, const QgsFeature *, QgsExpression *parent)
static QVariant fcnYMin (const QVariantList &values, const QgsFeature *, QgsExpression *parent)
static QVariant fncColorCmyka (const QVariantList &values, const QgsFeature *, QgsExpression *parent)
static QVariant fncColorHsla (const QVariantList &values, const QgsFeature *, QgsExpression *parent)
static QVariant fncColorHsva (const QVariantList &values, const QgsFeature *, QgsExpression *parent)
static QVariant fncColorRgba (const QVariantList &values, const QgsFeature *, QgsExpression *parent)
static QDateTime getDateTimeValue (const QVariant &value, QgsExpression *parent)
static QDate getDateValue (const QVariant &value, QgsExpression *parent)
static double getDoubleValue (const QVariant &value, QgsExpression *parent)
static QgsFeature getFeature (const QVariant &value, QgsExpression *parent)
static QgsGeometry getGeometry (const QVariant &value, QgsExpression *parent)
static QgsExpression::Interval getInterval (const QVariant &value, QgsExpression *parent, bool report_error=false)
static int getIntValue (const QVariant &value, QgsExpression *parent)
static QgsExpression::NodegetNode (const QVariant &value, QgsExpression *parent)
static QString getStringValue (const QVariant &value, QgsExpression *)
static QTime getTimeValue (const QVariant &value, QgsExpression *parent)
static TVL getTVLValue (const QVariant &value, QgsExpression *parent)
bool isDateTimeSafe (const QVariant &v)
bool isDoubleSafe (const QVariant &v)
bool isIntervalSafe (const QVariant &v)
bool isIntSafe (const QVariant &v)
bool isNull (const QVariant &v)
QgsExpression::NodeparseExpression (const QString &str, QString &parserErrorMsg)
static QVariant pointAt (const QVariantList &values, const QgsFeature *f, QgsExpression *parent)
static QVariant tvl2variant (TVL v)

Variables

static TVL AND [3][3]
static TVL NOT [3] = { True, False, Unknown }
static TVL OR [3][3]

Macro Definition Documentation

#define ENSURE_GEOM_TYPE (   f,
  g,
  geomtype 
)
Value:
if (!f) return QVariant(); \
QgsGeometry* g = f->geometry(); \
if (!g || g->type() != geomtype) return QVariant();

Definition at line 1018 of file qgsexpression.cpp.

#define ENSURE_NO_EVAL_ERROR   { if (parent->hasEvalError()) return QVariant(); }

Definition at line 207 of file qgsexpression.cpp.

#define SET_EVAL_ERROR (   x)    { parent->setEvalErrorString(x); return QVariant(); }

Definition at line 208 of file qgsexpression.cpp.

#define TVL_False   QVariant(0)

Definition at line 155 of file qgsexpression.cpp.

#define TVL_True   QVariant(1)

Definition at line 154 of file qgsexpression.cpp.

#define TVL_Unknown   QVariant()

Definition at line 156 of file qgsexpression.cpp.

Enumeration Type Documentation

enum TVL
Enumerator:
False 
True 
Unknown 

Definition at line 118 of file qgsexpression.cpp.

Function Documentation

static QVariant fcnAbs ( const QVariantList &  values,
const QgsFeature ,
QgsExpression parent 
)
static

Definition at line 378 of file qgsexpression.cpp.

static QVariant fcnAcos ( const QVariantList &  values,
const QgsFeature ,
QgsExpression parent 
)
static

Definition at line 404 of file qgsexpression.cpp.

static QVariant fcnAge ( const QVariantList &  values,
const QgsFeature ,
QgsExpression parent 
)
static

Definition at line 904 of file qgsexpression.cpp.

static QVariant fcnAsin ( const QVariantList &  values,
const QgsFeature ,
QgsExpression parent 
)
static

Definition at line 399 of file qgsexpression.cpp.

static QVariant fcnAtan ( const QVariantList &  values,
const QgsFeature ,
QgsExpression parent 
)
static

Definition at line 409 of file qgsexpression.cpp.

static QVariant fcnAtan2 ( const QVariantList &  values,
const QgsFeature ,
QgsExpression parent 
)
static

Definition at line 414 of file qgsexpression.cpp.

static QVariant fcnAttribute ( const QVariantList &  values,
const QgsFeature ,
QgsExpression parent 
)
static

Definition at line 820 of file qgsexpression.cpp.

static QVariant fcnBbox ( const QVariantList &  values,
const QgsFeature ,
QgsExpression parent 
)
static

Definition at line 1177 of file qgsexpression.cpp.

static QVariant fcnBounds ( const QVariantList &  values,
const QgsFeature ,
QgsExpression parent 
)
static

Definition at line 1127 of file qgsexpression.cpp.

static QVariant fcnBoundsHeight ( const QVariantList &  values,
const QgsFeature ,
QgsExpression parent 
)
static

Definition at line 1147 of file qgsexpression.cpp.

static QVariant fcnBoundsWidth ( const QVariantList &  values,
const QgsFeature ,
QgsExpression parent 
)
static

Definition at line 1141 of file qgsexpression.cpp.

static QVariant fcnBuffer ( const QVariantList &  values,
const QgsFeature ,
QgsExpression parent 
)
static

Definition at line 1225 of file qgsexpression.cpp.

static QVariant fcnCeil ( const QVariantList &  values,
const QgsFeature ,
QgsExpression parent 
)
static

Definition at line 598 of file qgsexpression.cpp.

static QVariant fcnCentroid ( const QVariantList &  values,
const QgsFeature ,
QgsExpression parent 
)
static

Definition at line 1241 of file qgsexpression.cpp.

static QVariant fcnClamp ( const QVariantList &  values,
const QgsFeature ,
QgsExpression parent 
)
static

Definition at line 571 of file qgsexpression.cpp.

static QVariant fcnCoalesce ( const QVariantList &  values,
const QgsFeature ,
QgsExpression  
)
static

Definition at line 622 of file qgsexpression.cpp.

static QVariant fcnColorCmyk ( const QVariantList &  values,
const QgsFeature ,
QgsExpression parent 
)
static

Definition at line 1505 of file qgsexpression.cpp.

static QVariant fcnColorHsl ( const QVariantList &  values,
const QgsFeature ,
QgsExpression parent 
)
static

Definition at line 1425 of file qgsexpression.cpp.

static QVariant fcnColorHsv ( const QVariantList &  values,
const QgsFeature ,
QgsExpression parent 
)
static

Definition at line 1465 of file qgsexpression.cpp.

static QVariant fcnColorRgb ( const QVariantList &  values,
const QgsFeature ,
QgsExpression parent 
)
static

Definition at line 1358 of file qgsexpression.cpp.

static QVariant fcnCombine ( const QVariantList &  values,
const QgsFeature ,
QgsExpression parent 
)
static

Definition at line 1290 of file qgsexpression.cpp.

static QVariant fcnConcat ( const QVariantList &  values,
const QgsFeature ,
QgsExpression parent 
)
static

Definition at line 827 of file qgsexpression.cpp.

static QVariant fcnContains ( const QVariantList &  values,
const QgsFeature ,
QgsExpression parent 
)
static

Definition at line 1207 of file qgsexpression.cpp.

static QVariant fcnConvexHull ( const QVariantList &  values,
const QgsFeature ,
QgsExpression parent 
)
static

Definition at line 1249 of file qgsexpression.cpp.

static QVariant fcnCos ( const QVariantList &  values,
const QgsFeature ,
QgsExpression parent 
)
static

Definition at line 389 of file qgsexpression.cpp.

static QVariant fcnCrosses ( const QVariantList &  values,
const QgsFeature ,
QgsExpression parent 
)
static

Definition at line 1201 of file qgsexpression.cpp.

static QVariant fcnDay ( const QVariantList &  values,
const QgsFeature ,
QgsExpression parent 
)
static

Definition at line 912 of file qgsexpression.cpp.

static QVariant fcnDifference ( const QVariantList &  values,
const QgsFeature ,
QgsExpression parent 
)
static

Definition at line 1257 of file qgsexpression.cpp.

static QVariant fcnDisjoint ( const QVariantList &  values,
const QgsFeature ,
QgsExpression parent 
)
static

Definition at line 1183 of file qgsexpression.cpp.

static QVariant fcnDistance ( const QVariantList &  values,
const QgsFeature ,
QgsExpression parent 
)
static

Definition at line 1266 of file qgsexpression.cpp.

static QVariant fcnExp ( const QVariantList &  values,
const QgsFeature ,
QgsExpression parent 
)
static

Definition at line 420 of file qgsexpression.cpp.

static QVariant fcnExpScale ( const QVariantList &  values,
const QgsFeature ,
QgsExpression parent 
)
static

Definition at line 501 of file qgsexpression.cpp.

static QVariant fcnFeature ( const QVariantList &  ,
const QgsFeature f,
QgsExpression  
)
static

Definition at line 816 of file qgsexpression.cpp.

static QVariant fcnFeatureId ( const QVariantList &  ,
const QgsFeature f,
QgsExpression  
)
static

Definition at line 810 of file qgsexpression.cpp.

static QVariant fcnFloor ( const QVariantList &  values,
const QgsFeature ,
QgsExpression parent 
)
static

Definition at line 592 of file qgsexpression.cpp.

static QVariant fcnFormatDate ( const QVariantList &  values,
const QgsFeature ,
QgsExpression parent 
)
static

Definition at line 1351 of file qgsexpression.cpp.

static QVariant fcnFormatNumber ( const QVariantList &  values,
const QgsFeature ,
QgsExpression parent 
)
static

Definition at line 1344 of file qgsexpression.cpp.

static QVariant fcnFormatString ( const QVariantList &  values,
const QgsFeature ,
QgsExpression parent 
)
static

Definition at line 873 of file qgsexpression.cpp.

static QVariant fcnGeomArea ( const QVariantList &  ,
const QgsFeature f,
QgsExpression parent 
)
static

Definition at line 1108 of file qgsexpression.cpp.

static QVariant fcnGeometry ( const QVariantList &  ,
const QgsFeature f,
QgsExpression  
)
static

Definition at line 1080 of file qgsexpression.cpp.

static QVariant fcnGeomFromGML ( const QVariantList &  values,
const QgsFeature ,
QgsExpression parent 
)
static

Definition at line 1097 of file qgsexpression.cpp.

static QVariant fcnGeomFromWKT ( const QVariantList &  values,
const QgsFeature ,
QgsExpression parent 
)
static

Definition at line 1088 of file qgsexpression.cpp.

static QVariant fcnGeomLength ( const QVariantList &  ,
const QgsFeature f,
QgsExpression parent 
)
static

Definition at line 1114 of file qgsexpression.cpp.

static QVariant fcnGeomPerimeter ( const QVariantList &  ,
const QgsFeature f,
QgsExpression parent 
)
static

Definition at line 1120 of file qgsexpression.cpp.

static QVariant fcnGeomToWKT ( const QVariantList &  values,
const QgsFeature ,
QgsExpression parent 
)
static

Definition at line 1299 of file qgsexpression.cpp.

static QVariant fcnGetFeature ( const QVariantList &  values,
const QgsFeature ,
QgsExpression parent 
)
static

Definition at line 1583 of file qgsexpression.cpp.

static QVariant fcnGetGeometry ( const QVariantList &  values,
const QgsFeature ,
QgsExpression parent 
)
static

Definition at line 1555 of file qgsexpression.cpp.

static QVariant fcnHour ( const QVariantList &  values,
const QgsFeature ,
QgsExpression parent 
)
static

Definition at line 972 of file qgsexpression.cpp.

static QVariant fcnIf ( const QVariantList &  values,
const QgsFeature f,
QgsExpression parent 
)
static

Definition at line 1373 of file qgsexpression.cpp.

static QVariant fcnIntersection ( const QVariantList &  values,
const QgsFeature ,
QgsExpression parent 
)
static

Definition at line 1272 of file qgsexpression.cpp.

static QVariant fcnIntersects ( const QVariantList &  values,
const QgsFeature ,
QgsExpression parent 
)
static

Definition at line 1189 of file qgsexpression.cpp.

static QVariant fcnLeft ( const QVariantList &  values,
const QgsFeature ,
QgsExpression parent 
)
static

Definition at line 850 of file qgsexpression.cpp.

static QVariant fcnLength ( const QVariantList &  values,
const QgsFeature ,
QgsExpression parent 
)
static

Definition at line 726 of file qgsexpression.cpp.

static QVariant fcnLinearScale ( const QVariantList &  values,
const QgsFeature ,
QgsExpression parent 
)
static

Definition at line 469 of file qgsexpression.cpp.

static QVariant fcnLn ( const QVariantList &  values,
const QgsFeature ,
QgsExpression parent 
)
static

Definition at line 425 of file qgsexpression.cpp.

static QVariant fcnLog ( const QVariantList &  values,
const QgsFeature ,
QgsExpression parent 
)
static

Definition at line 439 of file qgsexpression.cpp.

static QVariant fcnLog10 ( const QVariantList &  values,
const QgsFeature ,
QgsExpression parent 
)
static

Definition at line 432 of file qgsexpression.cpp.

static QVariant fcnLower ( const QVariantList &  values,
const QgsFeature ,
QgsExpression parent 
)
static

Definition at line 632 of file qgsexpression.cpp.

static QVariant fcnLPad ( const QVariantList &  values,
const QgsFeature ,
QgsExpression parent 
)
static

Definition at line 865 of file qgsexpression.cpp.

static QVariant fcnMax ( const QVariantList &  values,
const QgsFeature ,
QgsExpression parent 
)
static

Definition at line 535 of file qgsexpression.cpp.

static QVariant fcnMin ( const QVariantList &  values,
const QgsFeature ,
QgsExpression parent 
)
static

Definition at line 553 of file qgsexpression.cpp.

static QVariant fcnMinute ( const QVariantList &  values,
const QgsFeature ,
QgsExpression parent 
)
static

Definition at line 987 of file qgsexpression.cpp.

static QVariant fcnMonth ( const QVariantList &  values,
const QgsFeature ,
QgsExpression parent 
)
static

Definition at line 942 of file qgsexpression.cpp.

static QVariant fcnNow ( const QVariantList &  ,
const QgsFeature ,
QgsExpression  
)
static

Definition at line 884 of file qgsexpression.cpp.

static QVariant fcnOverlaps ( const QVariantList &  values,
const QgsFeature ,
QgsExpression parent 
)
static

Definition at line 1213 of file qgsexpression.cpp.

static QVariant fcnPi ( const QVariantList &  values,
const QgsFeature f,
QgsExpression parent 
)
static

Definition at line 1331 of file qgsexpression.cpp.

QVariant fcnRampColor ( const QVariantList &  values,
const QgsFeature ,
QgsExpression parent 
)

Definition at line 1411 of file qgsexpression.cpp.

static QVariant fcnRegexpMatch ( const QVariantList &  values,
const QgsFeature ,
QgsExpression parent 
)
static

Definition at line 753 of file qgsexpression.cpp.

static QVariant fcnRegexpReplace ( const QVariantList &  values,
const QgsFeature ,
QgsExpression parent 
)
static

Definition at line 738 of file qgsexpression.cpp.

static QVariant fcnRegexpSubstr ( const QVariantList &  values,
const QgsFeature ,
QgsExpression parent 
)
static

Definition at line 767 of file qgsexpression.cpp.

static QVariant fcnReplace ( const QVariantList &  values,
const QgsFeature ,
QgsExpression parent 
)
static

Definition at line 731 of file qgsexpression.cpp.

static QVariant fcnRight ( const QVariantList &  values,
const QgsFeature ,
QgsExpression parent 
)
static

Definition at line 843 of file qgsexpression.cpp.

static QVariant fcnRnd ( const QVariantList &  values,
const QgsFeature ,
QgsExpression parent 
)
static

Definition at line 458 of file qgsexpression.cpp.

static QVariant fcnRndF ( const QVariantList &  values,
const QgsFeature ,
QgsExpression parent 
)
static

Definition at line 447 of file qgsexpression.cpp.

static QVariant fcnRound ( const QVariantList &  values,
const QgsFeature f,
QgsExpression parent 
)
static

Definition at line 1312 of file qgsexpression.cpp.

static QVariant fcnRowNumber ( const QVariantList &  ,
const QgsFeature ,
QgsExpression parent 
)
static

Definition at line 805 of file qgsexpression.cpp.

static QVariant fcnRPad ( const QVariantList &  values,
const QgsFeature ,
QgsExpression parent 
)
static

Definition at line 857 of file qgsexpression.cpp.

static QVariant fcnScale ( const QVariantList &  ,
const QgsFeature ,
QgsExpression parent 
)
static

Definition at line 1339 of file qgsexpression.cpp.

static QVariant fcnSeconds ( const QVariantList &  values,
const QgsFeature ,
QgsExpression parent 
)
static

Definition at line 1002 of file qgsexpression.cpp.

static QVariant fcnSin ( const QVariantList &  values,
const QgsFeature ,
QgsExpression parent 
)
static

Definition at line 384 of file qgsexpression.cpp.

static QVariant fcnSpecialColumn ( const QVariantList &  values,
const QgsFeature ,
QgsExpression parent 
)
static

Definition at line 1549 of file qgsexpression.cpp.

static QVariant fcnSqrt ( const QVariantList &  values,
const QgsFeature ,
QgsExpression parent 
)
static

Definition at line 372 of file qgsexpression.cpp.

static QVariant fcnStrpos ( const QVariantList &  values,
const QgsFeature ,
QgsExpression parent 
)
static

Definition at line 837 of file qgsexpression.cpp.

static QVariant fcnSubstr ( const QVariantList &  values,
const QgsFeature ,
QgsExpression parent 
)
static

Definition at line 797 of file qgsexpression.cpp.

static QVariant fcnSymDifference ( const QVariantList &  values,
const QgsFeature ,
QgsExpression parent 
)
static

Definition at line 1281 of file qgsexpression.cpp.

static QVariant fcnTan ( const QVariantList &  values,
const QgsFeature ,
QgsExpression parent 
)
static

Definition at line 394 of file qgsexpression.cpp.

static QVariant fcnTitle ( const QVariantList &  values,
const QgsFeature ,
QgsExpression parent 
)
static

Definition at line 642 of file qgsexpression.cpp.

static QVariant fcnToDate ( const QVariantList &  values,
const QgsFeature ,
QgsExpression parent 
)
static

Definition at line 889 of file qgsexpression.cpp.

static QVariant fcnToDateTime ( const QVariantList &  values,
const QgsFeature ,
QgsExpression parent 
)
static

Definition at line 617 of file qgsexpression.cpp.

static QVariant fcnToInt ( const QVariantList &  values,
const QgsFeature ,
QgsExpression parent 
)
static

Definition at line 604 of file qgsexpression.cpp.

static QVariant fcnToInterval ( const QVariantList &  values,
const QgsFeature ,
QgsExpression parent 
)
static

Definition at line 899 of file qgsexpression.cpp.

static QVariant fcnToReal ( const QVariantList &  values,
const QgsFeature ,
QgsExpression parent 
)
static

Definition at line 608 of file qgsexpression.cpp.

static QVariant fcnToString ( const QVariantList &  values,
const QgsFeature ,
QgsExpression parent 
)
static

Definition at line 612 of file qgsexpression.cpp.

static QVariant fcnToTime ( const QVariantList &  values,
const QgsFeature ,
QgsExpression parent 
)
static

Definition at line 894 of file qgsexpression.cpp.

static QVariant fcnTouches ( const QVariantList &  values,
const QgsFeature ,
QgsExpression parent 
)
static

Definition at line 1195 of file qgsexpression.cpp.

static QVariant fcnTransformGeometry ( const QVariantList &  values,
const QgsFeature ,
QgsExpression parent 
)
static

Definition at line 1564 of file qgsexpression.cpp.

static QVariant fcnTrim ( const QVariantList &  values,
const QgsFeature ,
QgsExpression parent 
)
static

Definition at line 654 of file qgsexpression.cpp.

static QVariant fcnUpper ( const QVariantList &  values,
const QgsFeature ,
QgsExpression parent 
)
static

Definition at line 637 of file qgsexpression.cpp.

static QVariant fcnUuid ( const QVariantList &  ,
const QgsFeature ,
QgsExpression  
)
static

Definition at line 792 of file qgsexpression.cpp.

static QVariant fcnWeek ( const QVariantList &  values,
const QgsFeature ,
QgsExpression parent 
)
static

Definition at line 957 of file qgsexpression.cpp.

static QVariant fcnWithin ( const QVariantList &  values,
const QgsFeature ,
QgsExpression parent 
)
static

Definition at line 1219 of file qgsexpression.cpp.

static QVariant fcnWordwrap ( const QVariantList &  values,
const QgsFeature ,
QgsExpression parent 
)
static

Definition at line 660 of file qgsexpression.cpp.

static QVariant fcnX ( const QVariantList &  ,
const QgsFeature f,
QgsExpression  
)
static

Definition at line 1023 of file qgsexpression.cpp.

static QVariant fcnXat ( const QVariantList &  values,
const QgsFeature f,
QgsExpression parent 
)
static

Definition at line 1064 of file qgsexpression.cpp.

static QVariant fcnXMax ( const QVariantList &  values,
const QgsFeature ,
QgsExpression parent 
)
static

Definition at line 1159 of file qgsexpression.cpp.

static QVariant fcnXMin ( const QVariantList &  values,
const QgsFeature ,
QgsExpression parent 
)
static

Definition at line 1153 of file qgsexpression.cpp.

static QVariant fcnY ( const QVariantList &  ,
const QgsFeature f,
QgsExpression  
)
static

Definition at line 1035 of file qgsexpression.cpp.

static QVariant fcnYat ( const QVariantList &  values,
const QgsFeature f,
QgsExpression parent 
)
static

Definition at line 1072 of file qgsexpression.cpp.

static QVariant fcnYear ( const QVariantList &  values,
const QgsFeature ,
QgsExpression parent 
)
static

Definition at line 927 of file qgsexpression.cpp.

static QVariant fcnYMax ( const QVariantList &  values,
const QgsFeature ,
QgsExpression parent 
)
static

Definition at line 1171 of file qgsexpression.cpp.

static QVariant fcnYMin ( const QVariantList &  values,
const QgsFeature ,
QgsExpression parent 
)
static

Definition at line 1165 of file qgsexpression.cpp.

static QVariant fncColorCmyka ( const QVariantList &  values,
const QgsFeature ,
QgsExpression parent 
)
static

Definition at line 1527 of file qgsexpression.cpp.

static QVariant fncColorHsla ( const QVariantList &  values,
const QgsFeature ,
QgsExpression parent 
)
static

Definition at line 1445 of file qgsexpression.cpp.

static QVariant fncColorHsva ( const QVariantList &  values,
const QgsFeature ,
QgsExpression parent 
)
static

Definition at line 1485 of file qgsexpression.cpp.

static QVariant fncColorRgba ( const QVariantList &  values,
const QgsFeature ,
QgsExpression parent 
)
static

Definition at line 1396 of file qgsexpression.cpp.

static QDateTime getDateTimeValue ( const QVariant &  value,
QgsExpression parent 
)
static

Definition at line 264 of file qgsexpression.cpp.

static QDate getDateValue ( const QVariant &  value,
QgsExpression parent 
)
static

Definition at line 278 of file qgsexpression.cpp.

static double getDoubleValue ( const QVariant &  value,
QgsExpression parent 
)
static

Definition at line 237 of file qgsexpression.cpp.

static QgsFeature getFeature ( const QVariant &  value,
QgsExpression parent 
)
static

Definition at line 332 of file qgsexpression.cpp.

static QgsGeometry getGeometry ( const QVariant &  value,
QgsExpression parent 
)
static

Definition at line 323 of file qgsexpression.cpp.

static QgsExpression::Interval getInterval ( const QVariant &  value,
QgsExpression parent,
bool  report_error = false 
)
static

Definition at line 306 of file qgsexpression.cpp.

static int getIntValue ( const QVariant &  value,
QgsExpression parent 
)
static

Definition at line 249 of file qgsexpression.cpp.

static QgsExpression::Node* getNode ( const QVariant &  value,
QgsExpression parent 
)
static

Definition at line 341 of file qgsexpression.cpp.

static QString getStringValue ( const QVariant &  value,
QgsExpression  
)
static

Definition at line 232 of file qgsexpression.cpp.

static QTime getTimeValue ( const QVariant &  value,
QgsExpression parent 
)
static

Definition at line 292 of file qgsexpression.cpp.

static TVL getTVLValue ( const QVariant &  value,
QgsExpression parent 
)
static

Definition at line 351 of file qgsexpression.cpp.

bool isDateTimeSafe ( const QVariant &  v)
inline

Definition at line 182 of file qgsexpression.cpp.

bool isDoubleSafe ( const QVariant &  v)
inline

Definition at line 171 of file qgsexpression.cpp.

bool isIntervalSafe ( const QVariant &  v)
inline

Definition at line 188 of file qgsexpression.cpp.

bool isIntSafe ( const QVariant &  v)
inline

Definition at line 161 of file qgsexpression.cpp.

bool isNull ( const QVariant &  v)
inline

Definition at line 202 of file qgsexpression.cpp.

QgsExpression::Node* parseExpression ( const QString &  str,
QString &  parserErrorMsg 
)
static QVariant pointAt ( const QVariantList &  values,
const QgsFeature f,
QgsExpression parent 
)
static

Definition at line 1048 of file qgsexpression.cpp.

static QVariant tvl2variant ( TVL  v)
static

Definition at line 142 of file qgsexpression.cpp.

Variable Documentation

TVL AND[3][3]
static
Initial value:
{
{ False, False, False },
{ False, True, Unknown },
{ False, Unknown, Unknown }
}

Definition at line 125 of file qgsexpression.cpp.

TVL NOT[3] = { True, False, Unknown }
static

Definition at line 140 of file qgsexpression.cpp.

TVL OR[3][3]
static
Initial value:
{
{ False, True, Unknown },
{ True, True, True },
}

Definition at line 133 of file qgsexpression.cpp.