|
QGIS API Documentation 3.36.0-Maidenhead (09951dc0acf)
|
A cache for capabilities xml documents (by configuration file path) More...
#include <qgscapabilitiescache.h>

Public Member Functions | |
| QgsCapabilitiesCache (int size) | |
| void | insertCapabilitiesDocument (const QString &configFilePath, const QString &key, const QDomDocument *doc) |
| Inserts new capabilities document (creates a copy of the document, does not take ownership) | |
| void | removeCapabilitiesDocument (const QString &path) |
| Remove capabilities document. | |
| const QDomDocument * | searchCapabilitiesDocument (const QString &configFilePath, const QString &key) |
| Returns cached capabilities document (or 0 if document for configuration file not in cache) | |
A cache for capabilities xml documents (by configuration file path)
Definition at line 35 of file qgscapabilitiescache.h.
| QgsCapabilitiesCache::QgsCapabilitiesCache | ( | int | size | ) |
Definition at line 32 of file qgscapabilitiescache.cpp.
| void QgsCapabilitiesCache::insertCapabilitiesDocument | ( | const QString & | configFilePath, |
| const QString & | key, | ||
| const QDomDocument * | doc | ||
| ) |
Inserts new capabilities document (creates a copy of the document, does not take ownership)
| configFilePath | the project file path |
| key | key used to separate different version in different cache |
| doc | the DOM document |
Definition at line 55 of file qgscapabilitiescache.cpp.
| void QgsCapabilitiesCache::removeCapabilitiesDocument | ( | const QString & | path | ) |
Remove capabilities document.
| path | the project file path |
Definition at line 90 of file qgscapabilitiescache.cpp.
| const QDomDocument * QgsCapabilitiesCache::searchCapabilitiesDocument | ( | const QString & | configFilePath, |
| const QString & | key | ||
| ) |
Returns cached capabilities document (or 0 if document for configuration file not in cache)
| configFilePath | the progect file path |
| key | key used to separate different version in different cache |
Definition at line 41 of file qgscapabilitiescache.cpp.