| 
    QGIS API Documentation 3.40.0-Bratislava (b56115d8743)
    
   | 
 
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 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.
      
  | 
  slot | 
Removes 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.