mirror of
https://github.com/qgis/QGIS.git
synced 2025-10-15 00:02:52 -04:00
49 lines
1.8 KiB
Plaintext
49 lines
1.8 KiB
Plaintext
/************************************************************************
|
|
* This file has been generated automatically from *
|
|
* *
|
|
* src/core/providers/qgsproviderutils.h *
|
|
* *
|
|
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
|
|
************************************************************************/
|
|
|
|
|
|
|
|
class QgsProviderUtils
|
|
{
|
|
%Docstring(signature="appended")
|
|
|
|
Contains utility functions for working with data providers.
|
|
|
|
.. versionadded:: 3.22
|
|
%End
|
|
|
|
%TypeHeaderCode
|
|
#include "qgsproviderutils.h"
|
|
%End
|
|
public:
|
|
|
|
static bool sublayerDetailsAreIncomplete( const QList< QgsProviderSublayerDetails > &details, bool ignoreUnknownFeatureCount );
|
|
%Docstring
|
|
Returns ``True`` if the sublayer ``details`` are incomplete, and require a more in-depth
|
|
scan.
|
|
|
|
For instance, if the details contain any vector sublayers with unknown geometry types
|
|
then a query with the Qgis.SublayerQueryFlag.ResolveGeometryType flag is required.
|
|
|
|
If ``ignoreUnknownFeatureCount`` is ``True`` then sublayers with an unknown feature count
|
|
will not be considered as incomplete.
|
|
%End
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
/************************************************************************
|
|
* This file has been generated automatically from *
|
|
* *
|
|
* src/core/providers/qgsproviderutils.h *
|
|
* *
|
|
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
|
|
************************************************************************/
|