QGIS API Documentation  3.8.0-Zanzibar (11aff65)
Macros | Functions
qgsogrhelperfunctions.h File Reference
#include <QString>
#include "qgis_gui.h"
Include dependency graph for qgsogrhelperfunctions.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define SIP_NO_FILE
 

Functions

QString GUI_EXPORT createDatabaseURI (const QString &connectionType, const QString &host, const QString &database, QString port, const QString &configId, QString username, QString password, bool expandAuthConfig=false)
 CreateDatabaseURI. More...
 
QString GUI_EXPORT createProtocolURI (const QString &type, const QString &url, const QString &configId, const QString &username, const QString &password, bool expandAuthConfig=false)
 CreateProtocolURI. More...
 

Macro Definition Documentation

◆ SIP_NO_FILE

#define SIP_NO_FILE

Definition at line 22 of file qgsogrhelperfunctions.h.

Function Documentation

◆ createDatabaseURI()

QString GUI_EXPORT createDatabaseURI ( const QString &  connectionType,
const QString &  host,
const QString &  database,
QString  port,
const QString &  configId,
QString  username,
QString  password,
bool  expandAuthConfig = false 
)

CreateDatabaseURI.

Create database uri from connection parameters

Note
not available in python bindings

Definition at line 25 of file qgsogrhelperfunctions.cpp.

◆ createProtocolURI()

QString GUI_EXPORT createProtocolURI ( const QString &  type,
const QString &  url,
const QString &  configId,
const QString &  username,
const QString &  password,
bool  expandAuthConfig = false 
)

CreateProtocolURI.

Create protocol uri from connection parameters

Note
not available in python bindings

Definition at line 221 of file qgsogrhelperfunctions.cpp.