Skip to content

Commit

Permalink
Revert "Revert "Merge pull request #245 from Oslandia/atlas_integrati…
Browse files Browse the repository at this point in the history
…on""

This reverts commit 8a1953b.
  • Loading branch information
Hugo Mercier committed Oct 4, 2012
1 parent 1ed1188 commit 45593bf
Show file tree
Hide file tree
Showing 36 changed files with 2,045 additions and 200 deletions.
13 changes: 12 additions & 1 deletion python/core/qgsexpression.sip
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,13 @@ class QgsExpression
//! 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 );

void setScale( double scale );

int scale();
Expand All @@ -64,7 +71,6 @@ class QgsExpression
static QString replaceExpressionText( QString action, QgsFeature &feat,
QgsVectorLayer* layer,
const QMap<QString, QVariant> *substitutionMap = 0 );

//

enum UnaryOperator
Expand Down Expand Up @@ -141,6 +147,11 @@ class QgsExpression
*/
static int functionCount();

/**
* Returns a list of special Column definitions
*/
static QList<QgsExpression::FunctionDef> specialColumns();

//! return quoted column reference (in double quotes)
static QString quotedColumnRef( QString name );
//! return quoted string (in single quotes)
Expand Down

0 comments on commit 45593bf

Please sign in to comment.