A cache for capabilities xml documents (by configuration file path)
More...
#include <qgscapabilitiescache.h>
A cache for capabilities xml documents (by configuration file path)
Definition at line 31 of file qgscapabilitiescache.h.
◆ QgsCapabilitiesCache()
QgsCapabilitiesCache::QgsCapabilitiesCache |
( |
| ) |
|
◆ insertCapabilitiesDocument()
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)
- Parameters
-
configFilePath | the project file path |
key | key used to separate different version in different cache |
doc | the DOM document |
◆ removeCapabilitiesDocument()
void QgsCapabilitiesCache::removeCapabilitiesDocument |
( |
const QString & |
path | ) |
|
Remove capabilities document.
- Parameters
-
path | the project file path |
- Since
- QGIS 2.16
◆ searchCapabilitiesDocument()
const QDomDocument* QgsCapabilitiesCache::searchCapabilitiesDocument |
( |
const QString & |
configFilePath, |
|
|
const QString & |
key |
|
) |
| |
Returns cached capabilities document (or 0 if document for configuration file not in cache)
- Parameters
-
configFilePath | the progect file path |
key | key used to separate different version in different cache |
The documentation for this class was generated from the following file: