QGIS API Documentation
3.6.0-Noosa (5873452)
|
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 31 of file qgscapabilitiescache.h.
QgsCapabilitiesCache::QgsCapabilitiesCache | ( | ) |
Definition at line 22 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 41 of file qgscapabilitiescache.cpp.
void QgsCapabilitiesCache::removeCapabilitiesDocument | ( | const QString & | path | ) |
Remove capabilities document.
path | the project file path |
Definition at line 60 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 27 of file qgscapabilitiescache.cpp.