QGIS/python/server/qgscapabilitiescache.sip

58 lines
2.1 KiB
Plaintext
Raw Normal View History

2017-06-26 09:57:09 +02:00
/************************************************************************
* This file has been generated automatically from *
* *
* src/server/qgscapabilitiescache.h *
* *
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
************************************************************************/
class QgsCapabilitiesCache : QObject
2014-10-09 15:05:19 +02:00
{
2017-06-26 09:57:09 +02:00
%Docstring
2017-12-15 10:36:55 -04:00
A cache for capabilities xml documents (by configuration file path)
2017-06-26 09:57:09 +02:00
%End
2014-10-09 15:05:19 +02:00
%TypeHeaderCode
#include "qgscapabilitiescache.h"
%End
public:
2017-06-26 09:57:09 +02:00
QgsCapabilitiesCache();
2014-10-09 15:05:19 +02:00
const QDomDocument *searchCapabilitiesDocument( const QString &configFilePath, const QString &key );
2017-06-26 09:57:09 +02:00
%Docstring
2017-12-15 10:36:55 -04:00
Returns cached capabilities document (or 0 if document for configuration file not in cache)
:param configFilePath: the progect file path
:param key: key used to separate different version in different cache
:rtype: QDomDocument
2017-06-26 09:57:09 +02:00
%End
2016-10-01 11:23:26 +02:00
void insertCapabilitiesDocument( const QString &configFilePath, const QString &key, const QDomDocument *doc );
2017-06-26 09:57:09 +02:00
%Docstring
2017-12-15 10:36:55 -04:00
Inserts new capabilities document (creates a copy of the document, does not take ownership)
:param configFilePath: the project file path
:param key: key used to separate different version in different cache
:param doc: the DOM document
2017-06-26 09:57:09 +02:00
%End
2014-10-09 15:05:19 +02:00
void removeCapabilitiesDocument( const QString &path );
2017-06-26 09:57:09 +02:00
%Docstring
2017-12-15 10:36:55 -04:00
Remove capabilities document
:param path: the project file path
2017-06-26 09:57:09 +02:00
.. versionadded:: 2.16
%End
2016-06-29 10:08:34 +10:00
2014-10-09 15:05:19 +02:00
};
2017-06-26 09:57:09 +02:00
/************************************************************************
* This file has been generated automatically from *
* *
* src/server/qgscapabilitiescache.h *
* *
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
************************************************************************/