QGIS API Documentation
3.26.3-Buenos Aires (65e4edfdad)
|
Go to the documentation of this file.
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;
void setAvailableReferenceTemporalRange(const QgsDateTimeRange &range)
Sets the available reference datetime range.
QList< QgsDateTimeRange > allAvailableTemporalRanges() const
Returns a list of all valid datetime ranges for which temporal data is available from the provider.
const QgsDateTimeRange & availableTemporalRange() const
Returns the overall datetime range extent from 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 setAllAvailableTemporalRanges(const QList< QgsDateTimeRange > &ranges)
Sets a list of all valid datetime ranges for which temporal data is available from the provider.
Base class for handling properties relating to a data provider's temporal capabilities.
void setAvailableTemporalRange(const QgsDateTimeRange &range)
Sets the overall datetime range extent from which temporal data is available from the provider.
void setIntervalHandlingMethod(Qgis::TemporalIntervalMatchMethod method)
Sets the desired method to use when resolving a temporal interval to matching layers or bands in the ...
const QgsDateTimeRange & requestedTemporalRange() const
Returns the requested temporal range.
TemporalIntervalMatchMethod
Method to use when resolving a temporal range to a data provider layer or band.
QgsInterval defaultInterval() const
Returns the default time step interval corresponding to the available datetime values for the provide...
void setDefaultInterval(const QgsInterval &interval)
Sets the default time step interval corresponding to the available datetime values for the provider.
QgsRasterDataProviderTemporalCapabilities(bool enabled=false)
Constructor for QgsRasterDataProviderTemporalProperties.
A representation of the interval between two datetime values.
Qgis::TemporalIntervalMatchMethod intervalHandlingMethod() const
Returns the desired method to use when resolving a temporal interval to matching layers or bands in t...
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.