QGIS API Documentation
3.14.0-Pi (9f7028fd23)
|
#include <qgsmaplayerdependency.h>
Public Types | |
enum | Origin { FromProvider = 0, FromUser = 1 } |
Origin of the dependency. More... | |
enum | Type { PresenceDependency = 1, DataDependency = 2 } |
Type of dependency. More... | |
Public Member Functions | |
QgsMapLayerDependency (const QString &layerId, Type type=DataDependency, Origin origin=FromUser) | |
Standard constructor. More... | |
QString | layerId () const |
Returns the ID of the layer this dependency depends on. More... | |
bool | operator== (const QgsMapLayerDependency &other) const |
Comparison operator. More... | |
Origin | origin () const |
Returns the dependency origin. More... | |
Type | type () const |
Returns the dependency type. More... | |
This class models dependencies with or between map layers. A dependency is defined by a layer ID, a type and an origin. The two combinations of type/origin that are currently supported are:
Definition at line 36 of file qgsmaplayerdependency.h.
Origin of the dependency.
Enumerator | |
---|---|
FromProvider | |
FromUser |
Definition at line 60 of file qgsmaplayerdependency.h.
Type of dependency.
Enumerator | |
---|---|
PresenceDependency | |
DataDependency |
Definition at line 53 of file qgsmaplayerdependency.h.
|
inline |
Standard constructor.
Definition at line 67 of file qgsmaplayerdependency.h.
|
inline |
Returns the ID of the layer this dependency depends on.
Definition at line 80 of file qgsmaplayerdependency.h.
|
inline |
Comparison operator.
Definition at line 83 of file qgsmaplayerdependency.h.
|
inline |
Returns the dependency origin.
Definition at line 77 of file qgsmaplayerdependency.h.
|
inline |
Returns the dependency type.
Definition at line 74 of file qgsmaplayerdependency.h.