Layer metadata provider backend interface.
More...
#include <qgsabstractlayermetadataprovider.h>
Layer metadata provider backend interface.
- Since
- QGIS 3.28
Definition at line 217 of file qgsabstractlayermetadataprovider.h.
◆ ~QgsAbstractLayerMetadataProvider()
virtual QgsAbstractLayerMetadataProvider::~QgsAbstractLayerMetadataProvider |
( |
| ) |
|
|
virtualdefault |
◆ id()
virtual QString QgsAbstractLayerMetadataProvider::id |
( |
| ) |
const |
|
pure virtual |
Returns the id of the layer metadata provider implementation, usually the name of the data provider but it may be another unique identifier.
◆ search()
Searches for metadata optionally filtering by search string and geographic extent.
- Parameters
-
searchContext | context for the metadata search. |
searchString | defines a filter to limit the results to the records where the search string appears in the "identifier", "title" or "abstract" metadata fields, a case-insensitive comparison is used for the match. |
geographicExtent | defines a filter where the spatial extent matches the given extent in EPSG:4326 |
feedback | can be used to monitor and control the search process. |
- Returns
- a QgsLayerMetadataSearchResult object with a list of metadata and errors
The documentation for this class was generated from the following file: