Skip to content
Permalink
Browse files

Update QgsExpression's SIP

  • Loading branch information
Hugo Mercier
Hugo Mercier committed Sep 26, 2012
1 parent 17b6f04 commit e70b1524f973bf8671f03ff287b361ebc135f975
Showing with 11 additions and 1 deletion.
  1. +11 −1 python/core/qgsexpression.sip
@@ -43,6 +43,13 @@ public:
//! Return the number used for $rownum special column
int currentRowNumber();

//! Assign a special column
static void setSpecialColumn( const QString& name, QVariant value );
//! Unset a special column
static void unsetSpecialColumn( const QString& name );
//! Return the value of the given special column or a null QVariant if undefined
static QVariant specialColumn( const QString& name );

//! Return the parsed expression as a string - useful for debugging
QString dump() const;

@@ -57,10 +64,13 @@ public:
Additional substitutions can be passed through the substitutionMap
parameter
*/
static QString replaceExpressionText( QString action, QgsFeature &feat,
static QString replaceExpressionText( QString action, QgsFeature* feat,
QgsVectorLayer* layer,
const QMap<QString, QVariant> *substitutionMap = 0);

static QString replaceExpressionText( QString action, QgsFeature& feat,
QgsVectorLayer* layer,
const QMap<QString, QVariant> *substitutionMap = 0 );
//

enum UnaryOperator

0 comments on commit e70b152

Please sign in to comment.
You can’t perform that action at this time.