QGIS API Documentation
3.16.0-Hannover (43b64b13f3)
|
Go to the documentation of this file.
16 #ifndef QGSABSTRACTLAYOUTITERATOR_H
17 #define QGSABSTRACTLAYOUTITERATOR_H
19 #include "qgis_core.h"
68 virtual QString
filePath(
const QString &baseFilePath,
const QString &extension ) = 0;
72 #endif //QGSABSTRACTLAYOUTITERATOR_H
virtual int count() const =0
Returns the number of features to iterate over.
virtual bool next()=0
Iterates to next feature, returning false if no more features exist to iterate over.
An abstract base class for QgsLayout based classes which can be exported by QgsLayoutExporter.
virtual QgsLayout * layout()=0
Returns the layout associated with the iterator.
virtual bool endRender()=0
Ends the render, performing any required cleanup tasks.
Base class for layouts, which can contain items such as maps, labels, scalebars, etc.
virtual bool beginRender()=0
Called when rendering begins, before iteration commences.
virtual QString filePath(const QString &baseFilePath, const QString &extension)=0
Returns the file path for the current feature, based on a specified base file path and extension.
virtual ~QgsAbstractLayoutIterator()=default