QGIS API Documentation
3.6.0-Noosa (5873452)
|
Cache for server configuration. More...
#include <qgsconfigcache.h>
Public Member Functions | |
const QgsProject * | project (const QString &path) |
If the project is not cached yet, then the project is read thanks to the path. More... | |
void | removeEntry (const QString &path) |
Removes an entry from cache. More... | |
Static Public Member Functions | |
static QgsConfigCache * | instance () |
Returns the current instance. More... | |
|
static |
Returns the current instance.
Definition at line 25 of file qgsconfigcache.cpp.
const QgsProject * QgsConfigCache::project | ( | const QString & | path | ) |
If the project is not cached yet, then the project is read thanks to the path.
If the project is not available, then a nullptr is returned.
path | the filename of the QGIS project |
Definition at line 40 of file qgsconfigcache.cpp.
void QgsConfigCache::removeEntry | ( | const QString & | path | ) |
Removes an entry from cache.
path | The path of the project |
Definition at line 119 of file qgsconfigcache.cpp.