mirror of
				https://github.com/qgis/QGIS.git
				synced 2025-10-31 00:06:02 -04:00 
			
		
		
		
	
		
			
				
	
	
		
			62 lines
		
	
	
		
			2.1 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			62 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.py 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( int size );
 | |
| 
 | |
|     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
 | |
| 
 | |
|   public slots:
 | |
| 
 | |
|     void removeCapabilitiesDocument( const QString &path );
 | |
| %Docstring
 | |
| Removes capabilities document
 | |
| 
 | |
| :param path: the project file path
 | |
| %End
 | |
| 
 | |
| };
 | |
| 
 | |
| /************************************************************************
 | |
|  * This file has been generated automatically from                      *
 | |
|  *                                                                      *
 | |
|  * src/server/qgscapabilitiescache.h                                    *
 | |
|  *                                                                      *
 | |
|  * Do not edit manually ! Edit header and run scripts/sipify.py again   *
 | |
|  ************************************************************************/
 |