19 #ifndef QGSMAPLAYERTEMPORALPROPERTIES_H
20 #define QGSMAPLAYERTEMPORALPROPERTIES_H
22 #include "qgis_core.h"
28 #include <QDomElement>
54 if ( qobject_cast<QgsRasterLayerTemporalProperties *>( sipCpp ) )
56 sipType = sipType_QgsRasterLayerTemporalProperties;
58 else if ( qobject_cast<QgsMeshLayerTemporalProperties *>( sipCpp ) )
60 sipType = sipType_QgsMeshLayerTemporalProperties;
62 else if ( qobject_cast<QgsVectorLayerTemporalProperties *>( sipCpp ) )
64 sipType = sipType_QgsVectorLayerTemporalProperties;
87 virtual QDomElement writeXml( QDomElement &element, QDomDocument &doc,
const QgsReadWriteContext &context ) = 0;
99 virtual bool isVisibleInTemporalRange(
const QgsDateTimeRange &range )
const;
118 virtual QgsDateTimeRange calculateTemporalExtent(
QgsMapLayer *layer )
const;
122 #endif // QGSMAPLAYERTEMPORALPROPERTIES_H