QGIS API Documentation  3.20.0-Odense (decaadbb31)
Public Member Functions | List of all members
QgsProviderRegistry::ProviderCandidateDetails Class Reference

Contains information pertaining to a candidate provider. More...

#include <qgsproviderregistry.h>

Public Member Functions

 ProviderCandidateDetails (QgsProviderMetadata *metadata, const QList< QgsMapLayerType > &layerTypes)
 Constructor for ProviderCandidateDetails, with the specified provider metadata and valid candidate layerTypes. More...
 
QList< QgsMapLayerTypelayerTypes () const
 Returns a list of map layer types which are valid options for opening the target using this candidate provider. More...
 
QgsProviderMetadatametadata () const
 Returns the candidate provider metadata. More...
 

Detailed Description

Contains information pertaining to a candidate provider.

Since
QGIS 3.18

Definition at line 330 of file qgsproviderregistry.h.

Constructor & Destructor Documentation

◆ ProviderCandidateDetails()

QgsProviderRegistry::ProviderCandidateDetails::ProviderCandidateDetails ( QgsProviderMetadata metadata,
const QList< QgsMapLayerType > &  layerTypes 
)
inline

Constructor for ProviderCandidateDetails, with the specified provider metadata and valid candidate layerTypes.

Definition at line 338 of file qgsproviderregistry.h.

Member Function Documentation

◆ layerTypes()

QList<QgsMapLayerType> QgsProviderRegistry::ProviderCandidateDetails::layerTypes ( ) const
inline

Returns a list of map layer types which are valid options for opening the target using this candidate provider.

Definition at line 352 of file qgsproviderregistry.h.

◆ metadata()

QgsProviderMetadata* QgsProviderRegistry::ProviderCandidateDetails::metadata ( ) const
inline

Returns the candidate provider metadata.

Definition at line 346 of file qgsproviderregistry.h.


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