QGIS API Documentation
3.18.1-Zürich (202f1bf7e5)
|
A cache for capabilities xml documents (by configuration file path) More...
#include <qgscapabilitiescache.h>
Public Member Functions | |
QgsCapabilitiesCache () | |
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) More... | |
void | removeCapabilitiesDocument (const QString &path) |
Remove capabilities document. More... | |
const QDomDocument * | searchCapabilitiesDocument (const QString &configFilePath, const QString &key) |
Returns cached capabilities document (or 0 if document for configuration file not in cache) More... | |
A cache for capabilities xml documents (by configuration file path)
Definition at line 34 of file qgscapabilitiescache.h.
QgsCapabilitiesCache::QgsCapabilitiesCache | ( | ) |
Definition at line 30 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 53 of file qgscapabilitiescache.cpp.
void QgsCapabilitiesCache::removeCapabilitiesDocument | ( | const QString & | path | ) |
Remove capabilities document.
path | the project file path |
Definition at line 86 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 39 of file qgscapabilitiescache.cpp.