QGIS API Documentation
3.14.0-Pi (9f7028fd23)
|
Go to the documentation of this file.
15 #ifndef QGSPLUGINLAYER_H
16 #define QGSPLUGINLAYER_H
18 #include "qgis_core.h"
36 QgsPluginLayer(
const QString &layerType,
const QString &layerName = QString() );
47 QString pluginLayerType();
56 void setSource(
const QString &source );
62 QString mPluginLayerType;
80 QString
name()
const override;
92 #endif // QGSPLUGINLAYER_H
Setting options for creating vector data providers.
virtual QgsMapLayer * clone() const =0
Returns a new instance equivalent to this one except for the id which is still unique.
virtual QString description() const =0
Returns description.
virtual void setExtent(const QgsRectangle &rect)
Sets the extent.
virtual QgsDataProvider * dataProvider()
Returns the layer's data provider, it may be nullptr.
virtual QgsRectangle extent() const =0
Returns the extent of the layer.
virtual QString name() const =0
Returns a provider name.
virtual bool isValid() const =0
Returns true if this is a valid layer.
virtual QgsCoordinateReferenceSystem crs() const =0
Returns the coordinate system for the data source.