QGIS API Documentation  2.6.0-Brighton
 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 <QSettings>
#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:

Macros

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

Enumerations

enum  TVL { False, True, Unknown }

Functions

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

Variables

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

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();
#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()

Enumeration Type Documentation

enum TVL
Enumerator:
False 
True 
Unknown 

Function Documentation

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

Variable Documentation

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