QGIS API Documentation  3.21.0-Master (5b68dc587e)
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 332 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 340 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 354 of file qgsproviderregistry.h.

◆ metadata()

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

Returns the candidate provider metadata.

Definition at line 348 of file qgsproviderregistry.h.


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