QGIS API Documentation 3.28.0-Firenze (ed3ad0430f)
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 356 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 364 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 378 of file qgsproviderregistry.h.

◆ metadata()

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

Returns the candidate provider metadata.

Definition at line 372 of file qgsproviderregistry.h.


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