QGIS API Documentation 3.43.0-Master (ac9f54ad1f7)
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 (const WhenThen &rh)=delete
 
 WhenThen (QgsExpressionNode *whenExp, QgsExpressionNode *thenExp)
 A combination of when and then.
 
 ~WhenThen ()
 
QgsExpressionNodeCondition::WhenThenclone () const
 Gets a deep copy of this WhenThen combination.
 
WhenThenoperator= (const WhenThen &rh)=delete
 
QgsExpressionNodethenExp () const
 The expression node that makes the THEN result part of the condition.
 
QgsExpressionNodewhenExp () const
 The expression that makes the WHEN part of the condition.
 

Friends

class QgsExpressionNodeCondition
 

Detailed Description

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

Definition at line 615 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 2121 of file qgsexpressionnodeimpl.cpp.

◆ ~WhenThen()

QgsExpressionNodeCondition::WhenThen::~WhenThen ( )

Definition at line 2127 of file qgsexpressionnodeimpl.cpp.

◆ WhenThen() [2/2]

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

Member Function Documentation

◆ clone()

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

Gets a deep copy of this WhenThen combination.

Definition at line 2133 of file qgsexpressionnodeimpl.cpp.

◆ operator=()

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

◆ 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 644 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 637 of file qgsexpressionnodeimpl.h.

Friends And Related Symbol Documentation

◆ QgsExpressionNodeCondition

friend class QgsExpressionNodeCondition
friend

Definition at line 653 of file qgsexpressionnodeimpl.h.


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