File tree 1 file changed +11
-1
lines changed
1 file changed +11
-1
lines changed Original file line number Diff line number Diff line change @@ -43,6 +43,13 @@ public:
43
43
//! Return the number used for $rownum special column
44
44
int currentRowNumber();
45
45
46
+ //! Assign a special column
47
+ static void setSpecialColumn( const QString& name, QVariant value );
48
+ //! Unset a special column
49
+ static void unsetSpecialColumn( const QString& name );
50
+ //! Return the value of the given special column or a null QVariant if undefined
51
+ static QVariant specialColumn( const QString& name );
52
+
46
53
//! Return the parsed expression as a string - useful for debugging
47
54
QString dump() const;
48
55
@@ -57,10 +64,13 @@ public:
57
64
Additional substitutions can be passed through the substitutionMap
58
65
parameter
59
66
*/
60
- static QString replaceExpressionText( QString action, QgsFeature & feat,
67
+ static QString replaceExpressionText( QString action, QgsFeature* feat,
61
68
QgsVectorLayer* layer,
62
69
const QMap<QString, QVariant> *substitutionMap = 0);
63
70
71
+ static QString replaceExpressionText( QString action, QgsFeature& feat,
72
+ QgsVectorLayer* layer,
73
+ const QMap<QString, QVariant> *substitutionMap = 0 );
64
74
//
65
75
66
76
enum UnaryOperator
You can’t perform that action at this time.
0 commit comments