16#ifndef QGSPROVIDERSUBLAYERDETAILS_H 
   17#define QGSPROVIDERSUBLAYERDETAILS_H 
   82    QString 
uri()
 const { 
return mUri; }
 
   89    void setUri( 
const QString &uri ) { mUri = uri; }
 
  101        : transformContext( transformContext )
 
 
  108      bool loadDefaultStyle = 
true;
 
  122      bool loadAllStoredStyle = 
false;
 
 
  137    QString 
name()
 const { 
return mName; }
 
  144    void setName( 
const QString &name ) { mName = name; }
 
  158    void setDescription( 
const QString &description ) { mDescription = description; }
 
  198    QStringList 
path()
 const { 
return mPath; }
 
  208    void setPath( 
const QStringList &path ) { mPath = path; }
 
  261    SIP_PYOBJECT __repr__();
 
  263    QString str = QStringLiteral( 
"<QgsProviderSublayerDetails: %1 - %2>" ).arg( sipCpp->providerKey(), sipCpp->name() );
 
  264    sipRes = PyUnicode_FromString( str.toUtf8().constData() );
 
  311    QString mProviderKey;
 
  314    int mLayerNumber = 0;
 
  316    QString mDescription;
 
  318    QString mGeometryColumnName;
 
  322    bool mSkippedContainerScan = 
false;
 
 
QFlags< SublayerFlag > SublayerFlags
Sublayer flags.
LayerType
Types of layers that can be added to a map.
WkbType
The WKB type describes the number of dimensions a geometry has.
Contains information about the context in which a coordinate transform is executed.
Base class for all map layer types.
Contains details about a sub layer available from a dataset.
QString description() const
Returns the layer's description.
QStringList path() const
Returns the path to the sublayer.
long long featureCount() const
Returns the layer's feature count.
int layerNumber() const
Returns the associated layer number, for providers which order sublayers.
Qgis::LayerType type() const
Returns the layer type.
void setUri(const QString &uri)
Sets the layer's uri.
void setLayerNumber(int number)
Sets the associated layer number, for providers which order sublayers.
void setDescription(const QString &description)
Sets the layer's description.
void setType(Qgis::LayerType type)
Sets the layer type.
void setGeometryColumnName(const QString &name)
Sets the layer's geometry column name.
void setName(const QString &name)
Sets the layer's name.
Qgis::WkbType wkbType() const
Returns the layer's WKB type, or QgsWkbTypes::Unknown if the WKB type is not application or unknown.
void setFeatureCount(long long count)
Sets the layer's feature count.
QString uri() const
Returns the layer's URI.
void setProviderKey(const QString &key)
Sets the associated data provider key.
void setDriverName(const QString &driver)
Sets the layer's driver name.
void setPath(const QStringList &path)
Sets the path to the sublayer.
void setSkippedContainerScan(bool skipped)
Set to true if the layer is a potential dataset container and an in-depth scan of its contents was sk...
QString driverName() const
Returns the layer's driver name.
QString providerKey() const
Returns the associated data provider key.
void setWkbType(Qgis::WkbType type)
Set the layer's WKB type.
bool skippedContainerScan() const
Returns true if the layer is a potential dataset container and an in-depth scan of its contents was s...
QString geometryColumnName() const
Returns the layer's geometry column name, or an empty string if not applicable.
Qgis::SublayerFlags flags() const
Returns the layer's flags, which indicate properties of the layer.
void setFlags(Qgis::SublayerFlags newFlags)
Sets the layer's flags, which indicate properties of the layer.
QString name() const
Returns the layer's name.
@ UnknownCount
Provider returned an unknown feature count.
bool operator==(const QgsFeatureIterator &fi1, const QgsFeatureIterator &fi2)
bool operator!=(const QgsFeatureIterator &fi1, const QgsFeatureIterator &fi2)
Setting options for loading layers.
QgsCoordinateTransformContext transformContext
Coordinate transform context.
LayerOptions(const QgsCoordinateTransformContext &transformContext)
Constructor for LayerOptions with transformContext.