QGIS API Documentation  3.8.0-Zanzibar (11aff65)
qgsexpressioncontextscopegenerator.h
Go to the documentation of this file.
1 /***************************************************************************
2  qgsexpressioncontextscopegenerator.h - QgsExpressionContextScopeGenerator
3 
4  ---------------------
5  begin : 24.11.2017
6  copyright : (C) 2017 by Matthias Kuhn
7  email : [email protected]
8  ***************************************************************************
9  * *
10  * This program is free software; you can redistribute it and/or modify *
11  * it under the terms of the GNU General Public License as published by *
12  * the Free Software Foundation; either version 2 of the License, or *
13  * (at your option) any later version. *
14  * *
15  ***************************************************************************/
16 #ifndef QGSEXPRESSIONCONTEXTSCOPEGENERATOR_H
17 #define QGSEXPRESSIONCONTEXTSCOPEGENERATOR_H
18 
19 #include "qgsexpressioncontext.h"
20 
29 {
30  public:
31 
38  virtual QgsExpressionContextScope *createExpressionContextScope() const = 0 SIP_FACTORY;
39 
40  virtual ~QgsExpressionContextScopeGenerator() = default;
41 };
42 
43 #endif // QGSEXPRESSIONCONTEXTGENERATOR_H
#define SIP_FACTORY
Definition: qgis_sip.h:69
Single scope for storing variables and functions for use within a QgsExpressionContext.
Abstract interface for generating an expression context scope.