WhenThen class
Represents a "WHEN... THEN..." portation of a CASE WHEN clause in an expression.
Contents
Constructors, destructors, conversion operators
- WhenThen(QgsExpressionNode* whenExp, QgsExpressionNode* thenExp)
- A combination of when and then.
- WhenThen(const WhenThen& rh) deleted
- WhenThen nodes cannot be copied.
Public functions
-
auto clone() const -> QgsExpressionNodeCondition::
WhenThen* - Gets a deep copy of this WhenThen combination.
- auto operator=(const WhenThen& rh) -> WhenThen& deleted
- WhenThen nodes cannot be copied.
- auto thenExp() const -> QgsExpressionNode*
- The expression node that makes the THEN result part of the condition.
- auto whenExp() const -> QgsExpressionNode*
- The expression that makes the WHEN part of the condition.
Function documentation
QgsExpressionNodeCondition:: WhenThen:: WhenThen(QgsExpressionNode* whenExp,
QgsExpressionNode* thenExp)
A combination of when and then.
Simple as that.
QgsExpressionNode* QgsExpressionNodeCondition:: WhenThen:: thenExp() const
The expression node that makes the THEN result part of the condition.
| Returns | The expression node that makes the THEN result part of the condition. |
|---|
QgsExpressionNode* QgsExpressionNodeCondition:: WhenThen:: whenExp() const
The expression that makes the WHEN part of the condition.
| Returns | The expression node that makes the WHEN part of the condition check. |
|---|