QGIS API Documentation  3.14.0-Pi (9f7028fd23)
Public Member Functions | List of all members
QgsDataProviderTemporalCapabilities Class Reference

#include <qgsdataprovidertemporalcapabilities.h>

Inheritance diagram for QgsDataProviderTemporalCapabilities:
Inheritance graph
[legend]

Public Member Functions

 QgsDataProviderTemporalCapabilities (bool available=false)
 Constructor for QgsDataProviderTemporalCapabilities. More...
 
virtual ~QgsDataProviderTemporalCapabilities ()=default
 
bool hasTemporalCapabilities () const
 Returns true if the provider has temporal capabilities available. More...
 
void setHasTemporalCapabilities (bool available)
 Sets whether the provider has temporal capabilities available. More...
 

Detailed Description

Base class for handling properties relating to a data provider's temporal capabilities.

Since
QGIS 3.14

Definition at line 33 of file qgsdataprovidertemporalcapabilities.h.

Constructor & Destructor Documentation

◆ QgsDataProviderTemporalCapabilities()

QgsDataProviderTemporalCapabilities::QgsDataProviderTemporalCapabilities ( bool  available = false)

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.

Definition at line 20 of file qgsdataprovidertemporalcapabilities.cpp.

◆ ~QgsDataProviderTemporalCapabilities()

virtual QgsDataProviderTemporalCapabilities::~QgsDataProviderTemporalCapabilities ( )
virtualdefault

Member Function Documentation

◆ hasTemporalCapabilities()

bool QgsDataProviderTemporalCapabilities::hasTemporalCapabilities ( ) const
inline

Returns true if the provider has temporal capabilities available.

See also
setHasTemporalCapabilities()

Definition at line 74 of file qgsdataprovidertemporalcapabilities.h.

◆ setHasTemporalCapabilities()

void QgsDataProviderTemporalCapabilities::setHasTemporalCapabilities ( bool  available)
inline

Sets whether the provider has temporal capabilities available.

Set available to true to indicate that the provider has temporal capabilities available for use.

See also
hasTemporalCapabilities()

Definition at line 83 of file qgsdataprovidertemporalcapabilities.h.


The documentation for this class was generated from the following files: