19#ifndef QGSMAPLAYERTEMPORALPROPERTIES_H 
   20#define QGSMAPLAYERTEMPORALPROPERTIES_H 
   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;
 
   99    virtual bool isVisibleInTemporalRange( 
const QgsDateTimeRange &range ) 
const;
 
  118    virtual QgsDateTimeRange calculateTemporalExtent( 
QgsMapLayer *layer ) 
const;
 
  129    virtual QList< QgsDateTimeRange > allTemporalRanges( 
QgsMapLayer *layer ) 
const;
 
Base class for handling properties relating to a data provider's temporal capabilities.
 
Base class for storage of map layer temporal properties.
 
virtual QDomElement writeXml(QDomElement &element, QDomDocument &doc, const QgsReadWriteContext &context)=0
Writes the properties to a DOM element, to be used later with readXml().
 
virtual void setDefaultsFromDataProviderTemporalCapabilities(const QgsDataProviderTemporalCapabilities *capabilities)=0
Sets the layers temporal settings to appropriate defaults based on a provider's temporal capabilities...
 
virtual bool readXml(const QDomElement &element, const QgsReadWriteContext &context)=0
Reads temporal properties from a DOM element previously written by writeXml().
 
Base class for all map layer types.
 
The class is used as a container of context for various read/write operations on other objects.
 
Base class for temporal property.
 
#define SIP_CONVERT_TO_SUBCLASS_CODE(code)