mirror of
				https://github.com/qgis/QGIS.git
				synced 2025-11-03 00:14:12 -05:00 
			
		
		
		
	
		
			
				
	
	
		
			60 lines
		
	
	
		
			2.1 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			60 lines
		
	
	
		
			2.1 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
/************************************************************************
 | 
						|
 * 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
 | 
						|
{
 | 
						|
%Docstring(signature="appended")
 | 
						|
A cache for capabilities xml documents (by configuration file path)
 | 
						|
%End
 | 
						|
 | 
						|
%TypeHeaderCode
 | 
						|
#include "qgscapabilitiescache.h"
 | 
						|
%End
 | 
						|
  public:
 | 
						|
    QgsCapabilitiesCache();
 | 
						|
 | 
						|
    const QDomDocument *searchCapabilitiesDocument( const QString &configFilePath, const QString &key );
 | 
						|
%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
 | 
						|
%End
 | 
						|
 | 
						|
    void insertCapabilitiesDocument( const QString &configFilePath, const QString &key, const QDomDocument *doc );
 | 
						|
%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
 | 
						|
 | 
						|
    void removeCapabilitiesDocument( const QString &path );
 | 
						|
%Docstring
 | 
						|
Remove capabilities document
 | 
						|
 | 
						|
:param path: the project file path
 | 
						|
 | 
						|
.. versionadded:: 2.16
 | 
						|
%End
 | 
						|
 | 
						|
};
 | 
						|
 | 
						|
/************************************************************************
 | 
						|
 * This file has been generated automatically from                      *
 | 
						|
 *                                                                      *
 | 
						|
 * src/server/qgscapabilitiescache.h                                    *
 | 
						|
 *                                                                      *
 | 
						|
 * Do not edit manually ! Edit header and run scripts/sipify.pl again   *
 | 
						|
 ************************************************************************/
 |