30 mAvailableTemporalRange = dateTimeRange;
35 return mAvailableTemporalRange;
40 mAllAvailableTemporalRanges = ranges;
45 return mAllAvailableTemporalRanges;
53 mAvailableReferenceRange = dateTimeRange;
58 return mAvailableReferenceRange;
63 mRequestedRange = dateTimeRange;
68 return mDefaultInterval;
78 return mRequestedRange;
83 return mIntervalMatchMethod;
88 if ( mIntervalMatchMethod == mode )
90 mIntervalMatchMethod = mode;
Base class for handling properties relating to a data provider's temporal capabilities.
bool hasTemporalCapabilities() const
Returns true if the provider has temporal capabilities available.
void setHasTemporalCapabilities(bool available)
Sets whether the provider has temporal capabilities available.
A representation of the interval between two datetime values.
const QgsDateTimeRange & requestedTemporalRange() const
Returns the requested temporal range.
QgsInterval defaultInterval() const
Returns the default time step interval corresponding to the available datetime values for the provide...
IntervalHandlingMethod intervalHandlingMethod() const
Returns the desired method to use when resolving a temporal interval to matching layers or bands in t...
IntervalHandlingMethod
Method to use when resolving a temporal range to a data provider layer or band.
void setAvailableReferenceTemporalRange(const QgsDateTimeRange &range)
Sets the available reference datetime range.
const QgsDateTimeRange & availableReferenceTemporalRange() const
Returns the available reference datetime range, which indicates the maximum extent of datetime values...
QList< QgsDateTimeRange > allAvailableTemporalRanges() const
Returns a list of all valid datetime ranges for which temporal data is available from the provider.
void setRequestedTemporalRange(const QgsDateTimeRange &range)
Sets the requested temporal range to retrieve when returning data from the associated data provider.
void setDefaultInterval(const QgsInterval &interval)
Sets the default time step interval corresponding to the available datetime values for the provider.
void setAllAvailableTemporalRanges(const QList< QgsDateTimeRange > &ranges)
Sets a list of all valid datetime ranges for which temporal data is available from the provider.
QgsRasterDataProviderTemporalCapabilities(bool enabled=false)
Constructor for QgsRasterDataProviderTemporalProperties.
void setAvailableTemporalRange(const QgsDateTimeRange &range)
Sets the overall datetime range extent from which temporal data is available from the provider.
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 overall datetime range extent from which temporal data is available from the provider.