18#ifndef QGSVECTORDATAPROVIDERTEMPORALCAPABILITIES_H
19#define QGSVECTORDATAPROVIDERTEMPORALCAPABILITIES_H
VectorDataProviderTemporalMode
Vector data provider temporal handling modes.
@ HasFixedTemporalRange
Entire dataset from provider has a fixed start and end datetime.
QgsDataProviderTemporalCapabilities(bool available=false)
Constructor for QgsDataProviderTemporalCapabilities.
void setEndField(const QString &field)
Sets the name of the end datetime field, which stores the end time for the feature's time spans.
QgsVectorDataProviderTemporalCapabilities(bool enabled=false)
Constructor for QgsVectorDataProviderTemporalCapabilities.
const QgsDateTimeRange & availableTemporalRange() const
Returns the datetime range extent from which temporal data is available from the provider.
Qgis::VectorDataProviderTemporalMode mode() const
Returns the temporal properties mode.
QString startField() const
Returns the name of the start datetime field, which contains the start time for the feature's time sp...
QString endField() const
Returns the name of the end datetime field, which stores the end time for the feature's time spans.
void setMode(Qgis::VectorDataProviderTemporalMode mode)
Sets the temporal properties mode.
void setStartField(const QString &field)
Sets the name of the start datetime field, which stores the start time for the feature's time spans.
void setAvailableTemporalRange(const QgsDateTimeRange &range)
Sets the datetime range extent from which temporal data is available from the provider.
QgsTemporalRange< QDateTime > QgsDateTimeRange
QgsRange which stores a range of date times.