A cache for capabilities xml documents (by configuration file path) More...
Public Member Functions | |
const QDomDocument * | searchCapabilitiesDocument (QString configFilePath, QString version) |
void | insertCapabilitiesDocument (QString configFilePath, QString version, const QDomDocument *doc) |
A cache for capabilities xml documents (by configuration file path)
void QgsCapabilitiesCache::insertCapabilitiesDocument | ( | QString | configFilePath, |
QString | version, | ||
const QDomDocument * | doc | ||
) |
Inserts new capabilities document (creates a copy of the document, does not take ownership)
const QDomDocument* QgsCapabilitiesCache::searchCapabilitiesDocument | ( | QString | configFilePath, |
QString | version | ||
) |
Returns cached capabilities document (or 0 if document for configuration file not in cache)