QGIS API Documentation 3.41.0-Master (25ec5511245)
|
A cache for capabilities xml documents (by configuration file path) More...
#include <qgscapabilitiescache.h>
Public Slots | |
void | removeCapabilitiesDocument (const QString &path) |
Removes capabilities document. | |
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) | |
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 33 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 56 of file qgscapabilitiescache.cpp.
|
slot |
Removes capabilities document.
path | the project file path |
Definition at line 91 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 42 of file qgscapabilitiescache.cpp.