QGIS API Documentation
4.3.0-Master (16eddb2670e)
Toggle main menu visibility
Loading...
Searching...
No Matches
src
core
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 : matthias@opengis.ch
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
34
35
class
CORE_EXPORT
QgsExpressionContextGenerator
36
{
37
public
:
43
virtual
QgsExpressionContext
createExpressionContext
()
const
= 0;
44
45
virtual
~QgsExpressionContextGenerator
() =
default
;
46
};
47
48
#endif
// QGSEXPRESSIONCONTEXTGENERATOR_H
QgsExpressionContextGenerator
Abstract interface for generating an expression context.
Definition
qgsexpressioncontextgenerator.h:36
QgsExpressionContextGenerator::createExpressionContext
virtual QgsExpressionContext createExpressionContext() const =0
This method needs to be reimplemented in all classes which implement this interface and return an exp...
QgsExpressionContextGenerator::~QgsExpressionContextGenerator
virtual ~QgsExpressionContextGenerator()=default
QgsExpressionContext
Expression contexts are used to encapsulate the parameters around which a QgsExpression should be eva...
Definition
qgsexpressioncontext.h:491
qgsexpressioncontext.h
Generated on
for QGIS API Documentation by
1.17.0