18 #ifndef QGSMESHDATAPROVIDERTEMPORALCAPABILITIES_H
19 #define QGSMESHDATAPROVIDERTEMPORALCAPABILITIES_H
43 FindClosestDatasetFromStartRangeTime
58 QgsMeshDatasetIndex datasetIndexClosestBeforeRelativeTime(
int group, qint64 timeSinceGlobalReference )
const;
67 QgsMeshDatasetIndex datasetIndexClosestFromRelativeTime(
int group, qint64 timeSinceGlobalReference )
const;
74 void addGroupReferenceDateTime(
int group,
const QDateTime &reference )
SIP_SKIP;
82 void addDatasetTimeInMilliseconds(
int group, qint64 time )
SIP_SKIP;
90 void addDatasetTime(
int group,
double time )
SIP_SKIP;
95 bool hasReferenceTime()
const;
100 QDateTime referenceTime()
const;
106 QgsDateTimeRange timeExtent()
const;
112 QgsDateTimeRange timeExtent(
const QDateTime &reference )
const;
141 qint64 firstTimeStepDuration(
int group )
const;
146 QDateTime mGlobalReferenceDateTime;
149 QHash<int, QDateTime> mGroupsReferenceDateTime;
157 QHash<int, QList<qint64>> mDatasetTimeSinceGroupReference;
162 #endif // QGSMESHDATAPROVIDERTEMPORALCAPABILITIES_H