QGIS API Documentation 3.39.0-Master (e8f1b343c48)
Loading...
Searching...
No Matches
Public Member Functions | List of all members
QgsLayerMetadataSearchResults Class Reference

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< QgsLayerMetadataProviderResultmetadata () const
 Returns the list of metadata results.
 

Detailed Description

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.

Since
QGIS 3.28

Definition at line 173 of file qgsabstractlayermetadataprovider.h.

Member Function Documentation

◆ addError()

void QgsLayerMetadataSearchResults::addError ( const QString &  error)

Adds a error to the list of errors.

Definition at line 37 of file qgsabstractlayermetadataprovider.cpp.

◆ addMetadata()

void QgsLayerMetadataSearchResults::addMetadata ( const QgsLayerMetadataProviderResult metadata)

Adds a Metadata record to the list of results.

Definition at line 26 of file qgsabstractlayermetadataprovider.cpp.

◆ errors()

QStringList QgsLayerMetadataSearchResults::errors ( ) const

Returns the list of errors occurred during a metadata search.

Definition at line 32 of file qgsabstractlayermetadataprovider.cpp.

◆ metadata()

QList< QgsLayerMetadataProviderResult > QgsLayerMetadataSearchResults::metadata ( ) const

Returns the list of metadata results.

Definition at line 21 of file qgsabstractlayermetadataprovider.cpp.


The documentation for this class was generated from the following files: