QGIS API Documentation
3.16.0-Hannover (43b64b13f3)
|
Go to the documentation of this file.
30 mAvailableTemporalRange = dateTimeRange;
35 return mAvailableTemporalRange;
43 mAvailableReferenceRange = dateTimeRange;
48 return mAvailableReferenceRange;
51 void QgsRasterDataProviderTemporalCapabilities::setRequestedTemporalRange(
const QgsDateTimeRange &dateTimeRange )
53 mRequestedRange = dateTimeRange;
58 return mRequestedRange;
63 return mIntervalMatchMethod;
68 if ( mIntervalMatchMethod == mode )
70 mIntervalMatchMethod = mode;
void setAvailableReferenceTemporalRange(const QgsDateTimeRange &range)
Sets the available reference datetime range.
IntervalHandlingMethod intervalHandlingMethod() const
Returns the desired method to use when resolving a temporal interval to matching layers or bands in t...
void setIntervalHandlingMethod(IntervalHandlingMethod method)
Sets the desired method to use when resolving a temporal interval to matching layers or bands in the ...
const QgsDateTimeRange & availableTemporalRange() const
Returns the datetime range extent from which temporal data is available from the provider.
IntervalHandlingMethod
Method to use when resolving a temporal range to a data provider layer or band.
Base class for handling properties relating to a data provider's temporal capabilities.
void setAvailableTemporalRange(const QgsDateTimeRange &range)
Sets the datetime range extent from which temporal data is available from the provider.
const QgsDateTimeRange & requestedTemporalRange() const
Returns the requested temporal range.
QgsRasterDataProviderTemporalCapabilities(bool enabled=false)
Constructor for QgsRasterDataProviderTemporalProperties.
bool hasTemporalCapabilities() const
Returns true if the provider has temporal capabilities available.
const QgsDateTimeRange & availableReferenceTemporalRange() const
Returns the available reference datetime range, which indicates the maximum extent of datetime values...
void setHasTemporalCapabilities(bool available)
Sets whether the provider has temporal capabilities available.