QGIS API Documentation
3.14.0-Pi (9f7028fd23)
|
#include <qgsvirtuallayerdefinition.h>
Public Member Functions | |
SourceLayer (const QString &name, const QString &ref) | |
Constructor variant to build a live layer reference. More... | |
SourceLayer (const QString &name, const QString &source, const QString &provider, const QString &encoding) | |
Constructor variant to build a layer with a provider and a source. More... | |
QString | encoding () const |
Optional encoding for the provider. More... | |
bool | isReferenced () const |
Is it a live layer or not ? More... | |
QString | name () const |
Name of the layer. More... | |
QString | provider () const |
Provider key. More... | |
QString | reference () const |
The reference (id) of the live layer. More... | |
QString | source () const |
The source url used by the provider to build the layer. More... | |
A SourceLayer is either a reference to a live layer in the registry or all the parameters needed to load it (provider key, source, etc.)
Definition at line 52 of file qgsvirtuallayerdefinition.h.
|
inline |
Constructor variant to build a live layer reference.
Definition at line 68 of file qgsvirtuallayerdefinition.h.
|
inline |
Constructor variant to build a layer with a provider and a source.
Definition at line 73 of file qgsvirtuallayerdefinition.h.
|
inline |
Optional encoding for the provider.
Definition at line 96 of file qgsvirtuallayerdefinition.h.
|
inline |
Is it a live layer or not ?
Definition at line 81 of file qgsvirtuallayerdefinition.h.
|
inline |
Name of the layer.
Definition at line 87 of file qgsvirtuallayerdefinition.h.
|
inline |
Provider key.
Definition at line 90 of file qgsvirtuallayerdefinition.h.
|
inline |
The reference (id) of the live layer.
Definition at line 84 of file qgsvirtuallayerdefinition.h.
|
inline |
The source url used by the provider to build the layer.
Definition at line 93 of file qgsvirtuallayerdefinition.h.