mirror of
https://github.com/qgis/QGIS.git
synced 2025-10-06 00:07:29 -04:00
82 lines
2.7 KiB
Plaintext
82 lines
2.7 KiB
Plaintext
/************************************************************************
|
|
* This file has been generated automatically from *
|
|
* *
|
|
* src/core/qgsdataprovidertemporalcapabilities.h *
|
|
* *
|
|
* Do not edit manually ! Edit header and run scripts/sipify.py again *
|
|
************************************************************************/
|
|
|
|
|
|
|
|
|
|
|
|
class QgsDataProviderTemporalCapabilities
|
|
{
|
|
%Docstring(signature="appended")
|
|
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.py again *
|
|
************************************************************************/
|