|
| QgsMeshDataProviderTemporalCapabilities () |
| Constructor for QgsMeshDataProviderTemporalCapabilities. More...
|
|
void | addDatasetTime (int group, double time) |
| Adds a time (in provider unit) from a dataset contained in group. More...
|
|
void | addDatasetTimeInMilliseconds (int group, qint64 time) |
| Adds a time (in milliseconds) from a dataset contained in group. More...
|
|
void | addGroupReferenceDateTime (int group, const QDateTime &reference) |
| Adds a reference date/time from a dataset group. More...
|
|
void | clear () |
| Clears alls stored reference times and dataset times. More...
|
|
QgsMeshDatasetIndex | datasetIndexClosestBeforeRelativeTime (int group, qint64 timeSinceGlobalReference) const |
| Returns the last dataset with time less than or equal to timeSinceGlobalReference. More...
|
|
QgsMeshDatasetIndex | datasetIndexClosestFromRelativeTime (int group, qint64 timeSinceGlobalReference) const |
| Returns the closest dataset index from the timeSinceGlobalReference. More...
|
|
qint64 | datasetTime (const QgsMeshDatasetIndex &index) const |
| Returns the relative time in milliseconds of the dataset. More...
|
|
qint64 | firstTimeStepDuration (int group) const |
| Returns the duration of the first time step of the dataset group with index group. More...
|
|
bool | hasReferenceTime () const |
| Returns whether the reference time is set. More...
|
|
QDateTime | referenceTime () const |
| Returns the reference time. More...
|
|
void | setTemporalUnit (QgsUnitTypes::TemporalUnit temporalUnit) |
| Sets the temporal unit (temporalUnit) used to read data by the data provider. More...
|
|
QgsUnitTypes::TemporalUnit | temporalUnit () const |
| Returns the temporal unit used to read data by the data provider. More...
|
|
QgsDateTimeRange | timeExtent () const |
| Returns the time extent using the internal reference time and the first and last times available from the all the dataset. More...
|
|
QgsDateTimeRange | timeExtent (const QDateTime &reference) const |
| Returns the time extent using an external reference date time and the first and last times available from the all the dataset. More...
|
|
| QgsDataProviderTemporalCapabilities (bool available=false) |
| Constructor for QgsDataProviderTemporalCapabilities. More...
|
|
virtual | ~QgsDataProviderTemporalCapabilities ()=default |
|
bool | hasTemporalCapabilities () const |
| Returns true if the provider has temporal capabilities available. More...
|
|
void | setHasTemporalCapabilities (bool available) |
| Sets whether the provider has temporal capabilities available. More...
|
|