mirror of
				https://github.com/qgis/QGIS.git
				synced 2025-11-04 00:04:25 -05:00 
			
		
		
		
	
		
			
				
	
	
		
			79 lines
		
	
	
		
			2.6 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			79 lines
		
	
	
		
			2.6 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
/************************************************************************
 | 
						|
 * This file has been generated automatically from                      *
 | 
						|
 *                                                                      *
 | 
						|
 * src/core/qgsdataprovidertemporalcapabilities.h                       *
 | 
						|
 *                                                                      *
 | 
						|
 * Do not edit manually ! Edit header and run scripts/sipify.pl again   *
 | 
						|
 ************************************************************************/
 | 
						|
 | 
						|
 | 
						|
 | 
						|
 | 
						|
 | 
						|
class QgsDataProviderTemporalCapabilities
 | 
						|
{
 | 
						|
%Docstring
 | 
						|
Base class for handling properties relating to a data provider's temporal capabilities.
 | 
						|
 | 
						|
.. versionadded:: 3.14
 | 
						|
%End
 | 
						|
 | 
						|
%TypeHeaderCode
 | 
						|
#include "qgsdataprovidertemporalcapabilities.h"
 | 
						|
%End
 | 
						|
%ConvertToSubClassCode
 | 
						|
    if ( dynamic_cast<QgsRasterDataProviderTemporalCapabilities *>( sipCpp ) )
 | 
						|
    {
 | 
						|
      sipType = sipType_QgsRasterDataProviderTemporalCapabilities;
 | 
						|
    }
 | 
						|
    else if ( dynamic_cast<QgsVectorDataProviderTemporalCapabilities *>( sipCpp ) )
 | 
						|
    {
 | 
						|
      sipType = sipType_QgsVectorDataProviderTemporalCapabilities;
 | 
						|
    }
 | 
						|
    else if ( dynamic_cast < QgsMeshDataProviderTemporalCapabilities * >( sipCpp ) )
 | 
						|
    {
 | 
						|
      sipType = sipType_QgsMeshDataProviderTemporalCapabilities;
 | 
						|
    }
 | 
						|
    else
 | 
						|
    {
 | 
						|
      sipType = 0;
 | 
						|
    }
 | 
						|
%End
 | 
						|
  public:
 | 
						|
 | 
						|
    QgsDataProviderTemporalCapabilities( bool available = false );
 | 
						|
%Docstring
 | 
						|
Constructor for QgsDataProviderTemporalCapabilities.
 | 
						|
 | 
						|
The ``available`` argument specifies whether the data provider has temporal capabilities. Set to
 | 
						|
``True`` to indicate that the provider has temporal capabilities available for use.
 | 
						|
%End
 | 
						|
 | 
						|
    virtual ~QgsDataProviderTemporalCapabilities();
 | 
						|
 | 
						|
    bool hasTemporalCapabilities() const;
 | 
						|
%Docstring
 | 
						|
Returns ``True`` if the provider has temporal capabilities available.
 | 
						|
 | 
						|
.. seealso:: :py:func:`setHasTemporalCapabilities`
 | 
						|
%End
 | 
						|
 | 
						|
    void setHasTemporalCapabilities( bool available );
 | 
						|
%Docstring
 | 
						|
Sets whether the provider has temporal capabilities ``available``.
 | 
						|
 | 
						|
Set ``available`` to ``True`` to indicate that the provider has temporal capabilities available for use.
 | 
						|
 | 
						|
.. seealso:: :py:func:`hasTemporalCapabilities`
 | 
						|
%End
 | 
						|
 | 
						|
};
 | 
						|
 | 
						|
/************************************************************************
 | 
						|
 * This file has been generated automatically from                      *
 | 
						|
 *                                                                      *
 | 
						|
 * src/core/qgsdataprovidertemporalcapabilities.h                       *
 | 
						|
 *                                                                      *
 | 
						|
 * Do not edit manually ! Edit header and run scripts/sipify.pl again   *
 | 
						|
 ************************************************************************/
 |