QGIS API Documentation 3.34.0-Prizren (ffbdd678812)
Loading...
Searching...
No Matches
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 nodes cannot be copied.
 
 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
 WhenThen nodes cannot be copied.
 
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 568 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 1980 of file qgsexpressionnodeimpl.cpp.

◆ ~WhenThen()

QgsExpressionNodeCondition::WhenThen::~WhenThen ( )

Definition at line 1986 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 1992 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 599 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 592 of file qgsexpressionnodeimpl.h.

Friends And Related Symbol Documentation

◆ QgsExpressionNodeCondition

friend class QgsExpressionNodeCondition
friend

Definition at line 608 of file qgsexpressionnodeimpl.h.


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