QGIS API Documentation 3.41.0-Master (fda2aa46e9a)
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 (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 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 1992 of file qgsexpressionnodeimpl.cpp.

◆ ~WhenThen()

QgsExpressionNodeCondition::WhenThen::~WhenThen ( )

Definition at line 1998 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 2004 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 597 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 590 of file qgsexpressionnodeimpl.h.

Friends And Related Symbol Documentation

◆ QgsExpressionNodeCondition

friend class QgsExpressionNodeCondition
friend

Definition at line 606 of file qgsexpressionnodeimpl.h.


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