QGIS/python/server/qgscapabilitiescache.sip

56 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
A cache for capabilities xml documents (by configuration file path)
%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
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
%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
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
%End
2014-10-09 15:05:19 +02:00
void removeCapabilitiesDocument( const QString &path );
2017-06-26 09:57:09 +02:00
%Docstring
Remove capabilities document
\param path the project file path
.. 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 *
************************************************************************/