QGIS API Documentation 3.41.0-Master (3440c17df1d)
Loading...
Searching...
No Matches
Classes | Macros
qgsexpressionutils.h File Reference
#include "qgsfeature.h"
#include "qgsexpression.h"
#include "qgsvariantutils.h"
#include "qgsfeaturerequest.h"
#include "qgsreferencedgeometry.h"
#include <QDate>
#include <QDateTime>
#include <QTime>
#include <QThread>
#include <QLocale>
#include <functional>
Include dependency graph for qgsexpressionutils.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  QgsExpressionUtils
 A set of expression-related functions. More...
 

Macros

#define ENSURE_NO_EVAL_ERROR   { if ( parent->hasEvalError() ) return QVariant(); }
 
#define FEAT_FROM_CONTEXT(c, f)
 
#define SET_EVAL_ERROR(x)   { parent->setEvalErrorString( x ); return QVariant(); }
 
#define SIP_NO_FILE
 

Macro Definition Documentation

◆ ENSURE_NO_EVAL_ERROR

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

Definition at line 39 of file qgsexpressionutils.h.

◆ FEAT_FROM_CONTEXT

#define FEAT_FROM_CONTEXT (   c,
 
)
Value:
if ( !(c) || !( c )->hasFeature() ) return QVariant(); \
QgsFeature f = ( c )->feature();
The feature class encapsulates a single feature including its unique ID, geometry and a list of field...
Definition qgsfeature.h:58
As part of the API refactoring and improvements which landed in the Processing API was substantially reworked from the x version This was done in order to allow much of the underlying Processing framework to be ported into c

Definition at line 42 of file qgsexpressionutils.h.

◆ SET_EVAL_ERROR

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

Definition at line 40 of file qgsexpressionutils.h.

◆ SIP_NO_FILE

#define SIP_NO_FILE

Definition at line 20 of file qgsexpressionutils.h.