QGIS API Documentation 3.41.0-Master (af5edcb665c)
|
RAII class to pop scope from an expression context on destruction. More...
#include <qgsexpressioncontextutils.h>
Public Member Functions | |
QgsExpressionContextScopePopper (QgsExpressionContext &context, QgsExpressionContextScope *scope) | |
Constructor for QgsExpressionContextScopePopper. | |
~QgsExpressionContextScopePopper () | |
RAII class to pop scope from an expression context on destruction.
Definition at line 380 of file qgsexpressioncontextutils.h.
|
inline |
Constructor for QgsExpressionContextScopePopper.
Appends the specified scope to the end of context. scope will be automatically popped and deleted when this QgsExpressionContextScopePopper is destroyed.
Ownership of scope is transferred to the popper, but it is guaranteed to exist of the lifetime of the popper.
Definition at line 392 of file qgsexpressioncontextutils.h.
|
inline |
Definition at line 398 of file qgsexpressioncontextutils.h.