QGIS API Documentation  3.6.0-Noosa (5873452)
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 448 of file qgsexpressionnodeimpl.h.

Constructor & Destructor Documentation

◆ WhenThen() [1/2]

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

A combination of when and then.

Simple as that.

Definition at line 1531 of file qgsexpressionnodeimpl.cpp.

◆ ~WhenThen()

QgsExpressionNodeCondition::WhenThen::~WhenThen ( )

Definition at line 1537 of file qgsexpressionnodeimpl.cpp.

◆ WhenThen() [2/2]

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

WhenThen nodes cannot be copied.

Member Function Documentation

◆ clone()

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

Gets a deep copy of this WhenThen combination.

Definition at line 1543 of file qgsexpressionnodeimpl.cpp.

◆ operator=()

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

WhenThen nodes cannot be copied.

◆ thenExp()

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 479 of file qgsexpressionnodeimpl.h.

◆ whenExp()

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 472 of file qgsexpressionnodeimpl.h.

Friends And Related Function Documentation

◆ QgsExpressionNodeCondition

friend class QgsExpressionNodeCondition
friend

Definition at line 488 of file qgsexpressionnodeimpl.h.


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