QGIS API Documentation
3.16.0-Hannover (43b64b13f3)
|
Go to the documentation of this file.
40 mAvailableTemporalRange = dateTimeRange;
45 return mAvailableTemporalRange;
QString startField() const
Returns the name of the start datetime field, which contains the start time for the feature's time sp...
TemporalMode
Provider temporal handling mode.
Base class for handling properties relating to a data provider's temporal capabilities.
QString endField() const
Returns the name of the end datetime field, which stores the end time for the feature's time spans.
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 setEndField(const QString &field)
Sets the name of the end datetime field, which stores the end time for the feature's time spans.
const QgsDateTimeRange & availableTemporalRange() const
Returns the datetime range extent from which temporal data is available from the provider.
void setAvailableTemporalRange(const QgsDateTimeRange &range)
Sets the datetime range extent from which temporal data is available from the provider.
void setMode(TemporalMode mode)
Sets the temporal properties mode.
bool hasTemporalCapabilities() const
Returns true if the provider has temporal capabilities available.
QgsVectorDataProviderTemporalCapabilities(bool enabled=false)
Constructor for QgsVectorDataProviderTemporalCapabilities.
TemporalMode mode() const
Returns the temporal properties mode.
void setHasTemporalCapabilities(bool available)
Sets whether the provider has temporal capabilities available.