QGIS API Documentation  2.14.0-Essen
Typedefs | Functions
qgsauthmethodregistry.cpp File Reference
#include "qgsauthmethodregistry.h"
#include <QString>
#include <QDir>
#include <QLibrary>
#include "qgis.h"
#include "qgsauthconfig.h"
#include "qgsauthmethod.h"
#include "qgslogger.h"
#include "qgsmessageoutput.h"
#include "qgsmessagelog.h"
#include "qgsauthmethodmetadata.h"
Include dependency graph for qgsauthmethodregistry.cpp:

Go to the source code of this file.

Typedefs

typedef QgsAuthMethodclassFactoryFunction_t()
 
typedef void cleanupAuthMethod_t()
 
typedef QString description_t()
 
typedef QWidgeteditFactoryFunction_t(QWidget *parent)
 
typedef bool isauthmethod_t()
 
typedef QString methodkey_t()
 

Functions

static QgsAuthMethodMetadatafindMetadata_ (QgsAuthMethodRegistry::AuthMethods const &metaData, QString const &authMethodKey)
 Convenience function for finding any existing auth methods that match "authMethodKey". More...
 

Typedef Documentation

typedef QgsAuthMethod* classFactoryFunction_t()

Definition at line 261 of file qgsauthmethodregistry.cpp.

typedef void cleanupAuthMethod_t()

Definition at line 146 of file qgsauthmethodregistry.cpp.

typedef QString description_t()

Definition at line 34 of file qgsauthmethodregistry.cpp.

typedef QWidget* editFactoryFunction_t(QWidget *parent)

Definition at line 314 of file qgsauthmethodregistry.cpp.

typedef bool isauthmethod_t()

Definition at line 35 of file qgsauthmethodregistry.cpp.

typedef QString methodkey_t()

Definition at line 33 of file qgsauthmethodregistry.cpp.

Function Documentation

static QgsAuthMethodMetadata* findMetadata_ ( QgsAuthMethodRegistry::AuthMethods const &  metaData,
QString const &  authMethodKey 
)
static

Convenience function for finding any existing auth methods that match "authMethodKey".

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 an auth method without accidentally adding a null meta data item to the metadata map.

Definition at line 177 of file qgsauthmethodregistry.cpp.