QGIS API Documentation  3.4.15-Madeira (e83d02e274)
qgsexpressioncontextgenerator.h
Go to the documentation of this file.
1 /***************************************************************************
2  qgsexpressioncontextgenerator.h - QgsExpressionContextGenerator
3 
4  ---------------------
5  begin : 1.8.2016
6  copyright : (C) 2016 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 QGSEXPRESSIONCONTEXTGENERATOR_H
17 #define QGSEXPRESSIONCONTEXTGENERATOR_H
18 
19 #include "qgsexpressioncontext.h"
20 
37 {
38  public:
39 
46  virtual QgsExpressionContext createExpressionContext() const = 0;
47 
48  virtual ~QgsExpressionContextGenerator() = default;
49 };
50 
51 #endif // QGSEXPRESSIONCONTEXTGENERATOR_H
Expression contexts are used to encapsulate the parameters around which a QgsExpression should be eva...
Abstract interface for generating an expression context.