QGIS API Documentation 3.41.0-Master (45a0abf3bec)
|
Container of result records from a layer metadata search. More...
#include <qgsabstractlayermetadataprovider.h>
Public Member Functions | |
void | addError (const QString &error) |
Adds a error to the list of errors. | |
void | addMetadata (const QgsLayerMetadataProviderResult &metadata) |
Adds a Metadata record to the list of results. | |
QStringList | errors () const |
Returns the list of errors occurred during a metadata search. | |
QList< QgsLayerMetadataProviderResult > | metadata () const |
Returns the list of metadata results. | |
Container of result records from a layer metadata search.
Contains the records of the layer metadata provider that matched the search criteria and the list of the errors that occurred while searching for metadata.
Definition at line 173 of file qgsabstractlayermetadataprovider.h.
void QgsLayerMetadataSearchResults::addError | ( | const QString & | error | ) |
Adds a error to the list of errors.
Definition at line 37 of file qgsabstractlayermetadataprovider.cpp.
void QgsLayerMetadataSearchResults::addMetadata | ( | const QgsLayerMetadataProviderResult & | metadata | ) |
Adds a Metadata record to the list of results.
Definition at line 26 of file qgsabstractlayermetadataprovider.cpp.
QStringList QgsLayerMetadataSearchResults::errors | ( | ) | const |
Returns the list of errors occurred during a metadata search.
Definition at line 32 of file qgsabstractlayermetadataprovider.cpp.
QList< QgsLayerMetadataProviderResult > QgsLayerMetadataSearchResults::metadata | ( | ) | const |
Returns the list of metadata results.
Definition at line 21 of file qgsabstractlayermetadataprovider.cpp.