15 #ifndef QGSPLUGINLAYER_H 
   16 #define QGSPLUGINLAYER_H 
   18 #include "qgis_core.h" 
   36     QgsPluginLayer( 
const QString &layerType, 
const QString &layerName = QString() );
 
   40     SIP_PYOBJECT __repr__();
 
   42     QString str = QStringLiteral( 
"<QgsPluginLayer: '%1'>" ).arg( sipCpp->name() );
 
   43     sipRes = PyUnicode_FromString( str.toUtf8().constData() );
 
   55     QString pluginLayerType();
 
   64     void setSource( 
const QString &source );
 
   70     QString mPluginLayerType;
 
   85     QgsPluginLayerDataProvider( 
const QString &layerType,
 
   87                                 QgsDataProvider::ReadFlags flags );
 
   88     void setExtent( 
const QgsRectangle &extent ) { mExtent = extent; }
 
   90     QString name() 
const override;
 
   91     QString description() 
const override;
 
   93     bool isValid() 
const override;
 
This class represents a coordinate reference system (CRS).
Abstract base class for spatial data provider implementations.
Base class for all map layer types.
virtual void setExtent(const QgsRectangle &rect)
Sets the extent.
virtual Q_INVOKABLE QgsDataProvider * dataProvider()
Returns the layer's data provider, it may be nullptr.
Base class for plugin layers.
QgsPluginLayer * clone() const override=0
Returns a new instance equivalent to this one.
A rectangle specified with double values.
const QgsCoordinateReferenceSystem & crs
Setting options for creating vector data providers.