|
QGIS API Documentation 4.1.0-Master (5bf3c20f3c9)
|
Either a reference to a live layer in the registry or all the parameters needed to load it (provider key, source, etc.). More...
#include <qgsvirtuallayerdefinition.h>
Public Member Functions | |
| SourceLayer (const QString &name, const QString &ref) | |
| Constructor variant to build a live layer reference. | |
| 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. | |
| QString | encoding () const |
| Optional encoding for the provider. | |
| bool | isReferenced () const |
| Is it a live layer or not ? | |
| QString | name () const |
| Name of the layer. | |
| QString | provider () const |
| Provider key. | |
| QString | reference () const |
| The reference (id) of the live layer. | |
| QString | source () const |
| The source url used by the provider to build the layer. | |
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 39 of file qgsvirtuallayerdefinition.h.
|
inline |
Constructor variant to build a live layer reference.
Definition at line 43 of file qgsvirtuallayerdefinition.h.
|
inline |
Constructor variant to build a layer with a provider and a source.
Definition at line 48 of file qgsvirtuallayerdefinition.h.
|
inline |
Optional encoding for the provider.
Definition at line 71 of file qgsvirtuallayerdefinition.h.
|
inline |
Is it a live layer or not ?
Definition at line 56 of file qgsvirtuallayerdefinition.h.
|
inline |
Name of the layer.
Definition at line 62 of file qgsvirtuallayerdefinition.h.
|
inline |
Provider key.
Definition at line 65 of file qgsvirtuallayerdefinition.h.
|
inline |
The reference (id) of the live layer.
Definition at line 59 of file qgsvirtuallayerdefinition.h.
|
inline |
The source url used by the provider to build the layer.
Definition at line 68 of file qgsvirtuallayerdefinition.h.