QGIS API Documentation  3.26.3-Buenos Aires (65e4edfdad)
Public Member Functions | List of all members
QgsFileSystemCacheStrategy Class Reference

File system cache strategy for server configuration. More...

#include <qgsconfigcache.h>

Inheritance diagram for QgsFileSystemCacheStrategy:
Inheritance graph
[legend]

Public Member Functions

 QgsFileSystemCacheStrategy ()
 Creates a new filesystem strategy. More...
 
void attach (QgsConfigCache *cache) override
 Attach cache to this strategy. More...
 
void entryInserted (const QString &path) override
 Called when an entry is inserted. More...
 
void entryRemoved (const QString &path) override
 Called when an entry is removed from cache. More...
 
QString name () const override
 The name of the strategy. More...
 
- Public Member Functions inherited from QgsAbstractCacheStrategy
virtual ~QgsAbstractCacheStrategy ()=default
 

Detailed Description

File system cache strategy for server configuration.

Since
QGIS 3.26

Definition at line 162 of file qgsconfigcache.h.

Constructor & Destructor Documentation

◆ QgsFileSystemCacheStrategy()

QgsFileSystemCacheStrategy::QgsFileSystemCacheStrategy ( )

Creates a new filesystem strategy.

Definition at line 263 of file qgsconfigcache.cpp.

Member Function Documentation

◆ attach()

void QgsFileSystemCacheStrategy::attach ( QgsConfigCache cache)
overridevirtual

Attach cache to this strategy.

Implements QgsAbstractCacheStrategy.

Definition at line 267 of file qgsconfigcache.cpp.

◆ entryInserted()

void QgsFileSystemCacheStrategy::entryInserted ( const QString &  path)
overridevirtual

Called when an entry is inserted.

Parameters
pathThe path of the project

Implements QgsAbstractCacheStrategy.

Definition at line 277 of file qgsconfigcache.cpp.

◆ entryRemoved()

void QgsFileSystemCacheStrategy::entryRemoved ( const QString &  path)
overridevirtual

Called when an entry is removed from cache.

Parameters
pathThe path of the project

Implements QgsAbstractCacheStrategy.

Definition at line 272 of file qgsconfigcache.cpp.

◆ name()

QString QgsFileSystemCacheStrategy::name ( ) const
inlineoverridevirtual

The name of the strategy.

Implements QgsAbstractCacheStrategy.

Definition at line 169 of file qgsconfigcache.h.


The documentation for this class was generated from the following files: