QGIS API Documentation  3.4.15-Madeira (e83d02e274)
Public Member Functions | Friends | List of all members
QgsExpressionNodeCondition::WhenThen Class Reference

Represents a "WHEN... THEN..." portation of a CASE WHEN clause in an expression. More...

#include <qgsexpressionnodeimpl.h>

Public Member Functions

 WhenThen (QgsExpressionNode *whenExp, QgsExpressionNode *thenExp)
 A combination of when and then. More...
 
 WhenThen (const WhenThen &rh)=delete
 WhenThen nodes cannot be copied. More...
 
 ~WhenThen ()
 
QgsExpressionNodeCondition::WhenThenclone () const
 Gets a deep copy of this WhenThen combination. More...
 
WhenThenoperator= (const WhenThen &rh)=delete
 WhenThen nodes cannot be copied. More...
 
QgsExpressionNodethenExp () const
 The expression node that makes the THEN result part of the condition. More...
 
QgsExpressionNodewhenExp () const
 The expression that makes the WHEN part of the condition. More...
 

Friends

class QgsExpressionNodeCondition
 

Detailed Description

Represents a "WHEN... THEN..." portation of a CASE WHEN clause in an expression.

Definition at line 397 of file qgsexpressionnodeimpl.h.

Constructor & Destructor Documentation

QgsExpressionNodeCondition::WhenThen::WhenThen ( QgsExpressionNode whenExp,
QgsExpressionNode thenExp 
)

A combination of when and then.

Simple as that.

Definition at line 1545 of file qgsexpressionnodeimpl.cpp.

QgsExpressionNodeCondition::WhenThen::~WhenThen ( )

Definition at line 1551 of file qgsexpressionnodeimpl.cpp.

QgsExpressionNodeCondition::WhenThen::WhenThen ( const WhenThen rh)
delete

WhenThen nodes cannot be copied.

Member Function Documentation

QgsExpressionNodeCondition::WhenThen * QgsExpressionNodeCondition::WhenThen::clone ( ) const

Gets a deep copy of this WhenThen combination.

Definition at line 1557 of file qgsexpressionnodeimpl.cpp.

WhenThen& QgsExpressionNodeCondition::WhenThen::operator= ( const WhenThen rh)
delete

WhenThen nodes cannot be copied.

QgsExpressionNode* QgsExpressionNodeCondition::WhenThen::thenExp ( ) const
inline

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.

Definition at line 428 of file qgsexpressionnodeimpl.h.

QgsExpressionNode* QgsExpressionNodeCondition::WhenThen::whenExp ( ) const
inline

The expression that makes the WHEN part of the condition.

Returns
The expression node that makes the WHEN part of the condition check.

Definition at line 421 of file qgsexpressionnodeimpl.h.

Friends And Related Function Documentation

friend class QgsExpressionNodeCondition
friend

Definition at line 437 of file qgsexpressionnodeimpl.h.


The documentation for this class was generated from the following files: