A container class for data source field mapping or expression.
More...
#include <qgsdatadefined.h>
Detailed Description
A container class for data source field mapping or expression.
Constructor & Destructor Documentation
QgsDataDefined::QgsDataDefined |
( |
bool |
active = false , |
|
|
bool |
useexpr = false , |
|
|
const QString & |
expr = QString() , |
|
|
const QString & |
field = QString() |
|
) |
| |
Construct a new data defined object.
- Parameters
-
active | Whether the current data defined is active |
useexpr | Whether to use expression instead of field |
expr | Expression string |
field | Field name string |
QgsDataDefined::~QgsDataDefined |
( |
| ) |
|
Member Function Documentation
bool QgsDataDefined::expressionIsPrepared |
( |
| ) |
const |
|
inline |
QMap<QString, QVariant> QgsDataDefined::expressionParams |
( |
| ) |
const |
|
inline |
QString QgsDataDefined::expressionString |
( |
| ) |
const |
|
inline |
QString QgsDataDefined::field |
( |
| ) |
const |
|
inline |
void QgsDataDefined::insertExpressionParam |
( |
QString |
key, |
|
|
QVariant |
param |
|
) |
| |
bool QgsDataDefined::isActive |
( |
| ) |
const |
|
inline |
QStringList QgsDataDefined::referencedColumns |
( |
QgsVectorLayer * |
layer | ) |
|
void QgsDataDefined::setActive |
( |
bool |
active | ) |
|
|
inline |
void QgsDataDefined::setExpressionParams |
( |
QMap< QString, QVariant > |
params | ) |
|
|
inline |
void QgsDataDefined::setExpressionString |
( |
const QString & |
expr | ) |
|
void QgsDataDefined::setField |
( |
const QString & |
field | ) |
|
|
inline |
void QgsDataDefined::setUseExpression |
( |
bool |
use | ) |
|
|
inline |
QMap< QString, QString > QgsDataDefined::toMap |
( |
| ) |
|
bool QgsDataDefined::useExpression |
( |
| ) |
const |
|
inline |
The documentation for this class was generated from the following files: