QGIS API Documentation  3.9.0-Master (6d389215ab)
Public Member Functions | List of all members
QgsExpressionContextScopeGenerator Class Referenceabstract

Abstract interface for generating an expression context scope. More...

#include <qgsexpressioncontextscopegenerator.h>

Inheritance diagram for QgsExpressionContextScopeGenerator:
Inheritance graph
[legend]

Public Member Functions

virtual ~QgsExpressionContextScopeGenerator ()=default
 
virtual QgsExpressionContextScopecreateExpressionContextScope () const =0
 This method needs to be reimplemented in all classes which implement this interface and return an expression context scope. More...
 

Detailed Description

Abstract interface for generating an expression context scope.

Since
QGIS 3.0

Definition at line 28 of file qgsexpressioncontextscopegenerator.h.

Constructor & Destructor Documentation

◆ ~QgsExpressionContextScopeGenerator()

virtual QgsExpressionContextScopeGenerator::~QgsExpressionContextScopeGenerator ( )
virtualdefault

Member Function Documentation

◆ createExpressionContextScope()

virtual QgsExpressionContextScope* QgsExpressionContextScopeGenerator::createExpressionContextScope ( ) const
pure virtual

This method needs to be reimplemented in all classes which implement this interface and return an expression context scope.

Since
QGIS 3.0

Implemented in QgsVectorLayer, QgsProject, and QgsVectorLayerSelectedFeatureSource.


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