Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
Open heart surgery on expression context for processing sources
- Loading branch information
Showing
11 changed files
with
113 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
/************************************************************************ | ||
* This file has been generated automatically from * | ||
* * | ||
* src/core/qgsexpressioncontextscopegenerator.h * | ||
* * | ||
* Do not edit manually ! Edit header and run scripts/sipify.pl again * | ||
************************************************************************/ | ||
|
||
|
||
|
||
class QgsExpressionContextScopeGenerator | ||
{ | ||
%Docstring | ||
Abstract interface for generating an expression context scope. | ||
|
||
.. versionadded:: 3.0 | ||
%End | ||
|
||
%TypeHeaderCode | ||
#include "qgsexpressioncontextscopegenerator.h" | ||
%End | ||
public: | ||
|
||
virtual QgsExpressionContextScope *createExpressionContextScope() const = 0 /Factory/; | ||
%Docstring | ||
This method needs to be reimplemented in all classes which implement this interface | ||
and return an expression context scope. | ||
|
||
.. versionadded:: 3.0 | ||
:rtype: QgsExpressionContextScope | ||
%End | ||
|
||
virtual ~QgsExpressionContextScopeGenerator(); | ||
}; | ||
|
||
/************************************************************************ | ||
* This file has been generated automatically from * | ||
* * | ||
* src/core/qgsexpressioncontextscopegenerator.h * | ||
* * | ||
* Do not edit manually ! Edit header and run scripts/sipify.pl again * | ||
************************************************************************/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
/*************************************************************************** | ||
qgsexpressioncontextscopegenerator.h - QgsExpressionContextScopeGenerator | ||
--------------------- | ||
begin : 24.11.2017 | ||
copyright : (C) 2017 by Matthias Kuhn | ||
email : matthias@opengis.ch | ||
*************************************************************************** | ||
* * | ||
* This program is free software; you can redistribute it and/or modify * | ||
* it under the terms of the GNU General Public License as published by * | ||
* the Free Software Foundation; either version 2 of the License, or * | ||
* (at your option) any later version. * | ||
* * | ||
***************************************************************************/ | ||
#ifndef QGSEXPRESSIONCONTEXTSCOPEGENERATOR_H | ||
#define QGSEXPRESSIONCONTEXTSCOPEGENERATOR_H | ||
|
||
#include "qgsexpressioncontext.h" | ||
|
||
/** | ||
* \ingroup core | ||
* Abstract interface for generating an expression context scope. | ||
* | ||
* \since QGIS 3.0 | ||
*/ | ||
|
||
class CORE_EXPORT QgsExpressionContextScopeGenerator | ||
{ | ||
public: | ||
|
||
/** | ||
* This method needs to be reimplemented in all classes which implement this interface | ||
* and return an expression context scope. | ||
* | ||
* \since QGIS 3.0 | ||
*/ | ||
virtual QgsExpressionContextScope *createExpressionContextScope() const = 0 SIP_FACTORY; | ||
|
||
virtual ~QgsExpressionContextScopeGenerator() = default; | ||
}; | ||
|
||
#endif // QGSEXPRESSIONCONTEXTGENERATOR_H |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters