|
| QgsDataProvider (const QString &uri=QString(), const QgsDataProvider::ProviderOptions &providerOptions=QgsDataProvider::ProviderOptions(), QgsDataProvider::ReadFlags flags=QgsDataProvider::ReadFlags()) |
| Create a new dataprovider with the specified in the uri. More...
|
|
virtual QgsCoordinateReferenceSystem | crs () const =0 |
| Returns the coordinate system for the data source. More...
|
|
virtual QString | dataComment () const |
| Returns a short comment for the data that this provider is providing access to (e.g. More...
|
|
virtual QString | dataSourceUri (bool expandAuthConfig=false) const |
| Gets the data source specification. More...
|
|
virtual QDateTime | dataTimestamp () const |
| Current time stamp of data source. More...
|
|
virtual QString | description () const =0 |
| Returns description. More...
|
|
virtual bool | enterUpdateMode () |
| Enter update mode. More...
|
|
virtual QgsError | error () const |
| Gets current status error. More...
|
|
virtual QgsRectangle | extent () const =0 |
| Returns the extent of the layer. More...
|
|
virtual QString | fileRasterFilters () const |
| Returns raster file filter string. More...
|
|
virtual QString | fileVectorFilters () const |
| Returns vector file filter string. More...
|
|
virtual Qgis::DataProviderFlags | flags () const |
| Returns the generic data provider flags. More...
|
|
virtual void | invalidateConnections (const QString &connection) |
| Invalidate connections corresponding to specified name. More...
|
|
virtual bool | isValid () const =0 |
| Returns true if this is a valid layer. More...
|
|
virtual QgsLayerMetadata | layerMetadata () const |
| Returns layer metadata collected from the provider's source. More...
|
|
virtual bool | leaveUpdateMode () |
| Leave update mode. More...
|
|
virtual QString | name () const =0 |
| Returns a provider name. More...
|
|
QVariant | providerProperty (int property, const QVariant &defaultValue) const |
| Gets the current value of a certain provider property. More...
|
|
QVariant | providerProperty (ProviderProperty property, const QVariant &defaultValue=QVariant()) const |
| Gets the current value of a certain provider property. More...
|
|
virtual void | reloadData () |
| Reloads the data from the source for providers with data caches to synchronize, changes in the data source, feature counts and other specific actions. More...
|
|
virtual bool | renderInPreview (const QgsDataProvider::PreviewContext &context) |
| Returns whether the layer must be rendered in preview jobs. More...
|
|
virtual void | setDataSourceUri (const QString &uri) |
| Set the data source specification. More...
|
|
virtual void | setLayerOrder (const QStringList &layers) |
| Reorder the list of layer names to be rendered by this provider (in order from bottom to top) More...
|
|
virtual void | setListening (bool isListening) |
| Set whether the provider will listen to datasource notifications If set, the provider will issue notify signals. More...
|
|
void | setProviderProperty (int property, const QVariant &value) |
| Allows setting arbitrary properties on the provider. More...
|
|
void | setProviderProperty (ProviderProperty property, const QVariant &value) |
| Allows setting arbitrary properties on the provider. More...
|
|
virtual void | setSubLayerVisibility (const QString &name, bool vis) |
| Set the visibility of the given sublayer name. More...
|
|
virtual bool | setSubsetString (const QString &subset, bool updateFeatureCount=true) |
| Set the subset string used to create a subset of features in the layer. More...
|
|
virtual void | setTransformContext (const QgsCoordinateTransformContext &transformContext) |
| Sets data coordinate transform context to transformContext. More...
|
|
void | setUri (const QgsDataSourceUri &uri) |
| Set the data source specification. More...
|
|
virtual uint | subLayerCount () const |
| Returns the number of layers for the current data source. More...
|
|
virtual QStringList | subLayers () const |
| Sub-layers handled by this provider, in order from bottom to top. More...
|
|
virtual QStringList | subLayerStyles () const |
| Sub-layer styles for each sub-layer handled by this provider, in order from bottom to top. More...
|
|
virtual QString | subsetString () const |
| Returns the subset definition string (typically sql) currently in use by the layer and used by the provider to limit the feature set. More...
|
|
virtual bool | supportsSubsetString () const |
| Returns true if the provider supports setting of subset strings. More...
|
|
virtual QgsDataProviderTemporalCapabilities * | temporalCapabilities () |
| Returns the provider's temporal capabilities. More...
|
|
virtual const QgsDataProviderTemporalCapabilities * | temporalCapabilities () const |
| Returns the provider's temporal capabilities. More...
|
|
virtual QDateTime | timestamp () const |
| Time stamp of data source in the moment when data/metadata were loaded by provider. More...
|
|
QgsCoordinateTransformContext | transformContext () const |
| Returns data provider coordinate transform context. More...
|
|
virtual void | updateExtents () |
| Update the extents of the layer. More...
|
|
QgsDataSourceUri | uri () const |
| Gets the data source specification. More...
|
|
virtual bool | writeLayerMetadata (const QgsLayerMetadata &metadata) |
| Writes layer metadata to the underlying provider source. More...
|
|