20#ifndef QGSSERVERCACHEFILTER_H
21#define QGSSERVERCACHEFILTER_H
23#include "qgis_server.h"
27#include <QDomDocument>
Encapsulates a QGIS project, including sets of map layers and their styles, layouts,...
virtual bool deleteCachedImage(const QgsProject *project, const QgsServerRequest &request, const QString &key) const
Deletes the cached image.
virtual bool setCachedDocument(const QDomDocument *doc, const QgsProject *project, const QgsServerRequest &request, const QString &key) const
Updates or inserts the document in cache like capabilities.
QgsServerCacheFilter(const QgsServerInterface *serverInterface)
Constructor QgsServerInterface passed to plugins constructors and must be passed to QgsServerCacheFil...
virtual QByteArray getCachedImage(const QgsProject *project, const QgsServerRequest &request, const QString &key) const
Returns cached image (or 0 if document not in cache) like tiles.
virtual ~QgsServerCacheFilter()=default
virtual bool deleteCachedDocument(const QgsProject *project, const QgsServerRequest &request, const QString &key) const
Deletes the cached document.
virtual bool deleteCachedDocuments(const QgsProject *project) const
Deletes all cached documents for a QGIS project.
virtual QByteArray getCachedDocument(const QgsProject *project, const QgsServerRequest &request, const QString &key) const
Returns cached document (or 0 if document not in cache) like capabilities.
virtual bool deleteCachedImages(const QgsProject *project) const
Deletes all cached images for a QGIS project.
virtual bool setCachedImage(const QByteArray *img, const QgsProject *project, const QgsServerRequest &request, const QString &key) const
Updates or inserts the image in cache like tiles.
Defines interfaces exposed by QGIS Server and made available to plugins.
Defines requests passed to QgsService classes.
#define SIP_IF_MODULE(condition)
QMultiMap< int, QgsServerCacheFilter * > QgsServerCacheFilterMap
The registry definition.