31 return mProviderKey == other.mProviderKey
32 && mType == other.mType
33 && mFlags == other.mFlags
35 && mLayerNumber == other.mLayerNumber
36 && mName == other.mName
37 && mDescription == other.mDescription
38 && mFeatureCount == other.mFeatureCount
39 && mGeometryColumnName == other.mGeometryColumnName
40 && mPath == other.mPath
41 && mWkbType == other.mWkbType
42 && mSkippedContainerScan == other.mSkippedContainerScan
43 && mDriverName == other.mDriverName;
48 return !( *
this == other );
static QgsMapLayer * createLayer(const QString &uri, const QString &name, QgsMapLayerType type, const LayerOptions &options, const QString &provider=QString())
Creates a map layer, given a uri, name, layer type and provider name.
Base class for all map layer types.
Contains details about a sub layer available from a dataset.
bool operator!=(const QgsProviderSublayerDetails &other) const
QgsMapLayer * toLayer(const LayerOptions &options) const
Creates a new QgsMapLayer object associated with the sublayer.
bool operator==(const QgsProviderSublayerDetails &other) const
Setting options for loading layers.
bool loadDefaultStyle
Set to true if the default layer style should be loaded.
Setting options for loading layers.
QgsCoordinateTransformContext transformContext
Coordinate transform context.
bool loadDefaultStyle
Set to true if the default layer style should be loaded.