18 #ifndef QGSVECTORDATAPROVIDERTEMPORALCAPABILITIES_H
19 #define QGSVECTORDATAPROVIDERTEMPORALCAPABILITIES_H
21 #include "qgis_core.h"
46 ProviderHasFixedTemporalRange = 0,
63 TemporalMode mode()
const;
70 void setMode( TemporalMode mode );
77 void setAvailableTemporalRange(
const QgsDateTimeRange &range );
84 const QgsDateTimeRange &availableTemporalRange()
const;
94 QString startField()
const;
104 void setStartField(
const QString &
field );
112 QString endField()
const;
120 void setEndField(
const QString &
field );
132 QgsDateTimeRange mAvailableTemporalRange;
134 TemporalMode mMode = ProviderHasFixedTemporalRange;
Base class for handling properties relating to a data provider's temporal capabilities.
Implementation of data provider temporal properties for QgsVectorDataProviders.
TemporalMode
Provider temporal handling mode.
@ ProviderStoresFeatureDateTimeStartAndEndInSeparateFields
Dataset stores feature start and end datetimes in separate fields.
@ ProviderStoresFeatureDateTimeInstantInField
Dataset has feature datetime instants stored in a single field.