QGIS API Documentation  2.18.21-Las Palmas (9fba24a)
Typedefs | Functions
qgsproviderregistry.cpp File Reference
#include "qgsproviderregistry.h"
#include <QString>
#include <QDir>
#include <QLibrary>
#include "qgis.h"
#include "qgsdataprovider.h"
#include "qgslogger.h"
#include "qgsmessageoutput.h"
#include "qgsmessagelog.h"
#include "qgsprovidermetadata.h"
#include "qgsvectorlayer.h"
#include "qgsmaplayerregistry.h"
Include dependency graph for qgsproviderregistry.cpp:

Go to the source code of this file.

Typedefs

typedef void buildsupportedrasterfilefilter_t(QString &theFileFiltersString)
 
typedef QgsDataProviderclassFactoryFunction_t(const QString *)
 
typedef void cleanupProviderFunction_t()
 
typedef QString databaseDrivers_t()
 
typedef QString description_t()
 
typedef QString directoryDrivers_t()
 
typedef QString fileVectorFilters_t()
 
typedef bool isprovider_t()
 
typedef QString protocolDrivers_t()
 
typedef QString providerkey_t()
 
typedef QWidgetselectFactoryFunction_t(QWidget *parent, Qt::WindowFlags fl)
 

Functions

static QgsProviderMetadatafindMetadata_ (QgsProviderRegistry::Providers const &metaData, QString const &providerKey)
 Convenience function for finding any existing data providers that match "providerKey". More...
 

Typedef Documentation

◆ buildsupportedrasterfilefilter_t

typedef void buildsupportedrasterfilefilter_t(QString &theFileFiltersString)

Definition at line 40 of file qgsproviderregistry.cpp.

◆ classFactoryFunction_t

typedef QgsDataProvider* classFactoryFunction_t(const QString *)

Definition at line 339 of file qgsproviderregistry.cpp.

◆ cleanupProviderFunction_t

typedef void cleanupProviderFunction_t()

Definition at line 224 of file qgsproviderregistry.cpp.

◆ databaseDrivers_t

typedef QString databaseDrivers_t()

Definition at line 41 of file qgsproviderregistry.cpp.

◆ description_t

typedef QString description_t()

Definition at line 37 of file qgsproviderregistry.cpp.

◆ directoryDrivers_t

typedef QString directoryDrivers_t()

Definition at line 42 of file qgsproviderregistry.cpp.

◆ fileVectorFilters_t

typedef QString fileVectorFilters_t()

Definition at line 39 of file qgsproviderregistry.cpp.

◆ isprovider_t

typedef bool isprovider_t()

Definition at line 38 of file qgsproviderregistry.cpp.

◆ protocolDrivers_t

typedef QString protocolDrivers_t()

Definition at line 43 of file qgsproviderregistry.cpp.

◆ providerkey_t

typedef QString providerkey_t()

Definition at line 36 of file qgsproviderregistry.cpp.

◆ selectFactoryFunction_t

typedef QWidget* selectFactoryFunction_t(QWidget *parent, Qt::WindowFlags fl)

Definition at line 421 of file qgsproviderregistry.cpp.

Function Documentation

◆ findMetadata_()

static QgsProviderMetadata* findMetadata_ ( QgsProviderRegistry::Providers const &  metaData,
QString const &  providerKey 
)
static

Convenience function for finding any existing data providers that match "providerKey".

Necessary because [] map operator will create a QgsProviderMetadata instance. Also you cannot use the map [] operator in const members for that very reason. So there needs to be a convenient way to find a data provider without accidentally adding a null meta data item to the metadata map.

Definition at line 262 of file qgsproviderregistry.cpp.