QGIS/python/core/auto_generated/providers/qgsproviderutils.sip.in
Nyall Dawson 1355b39be0 Add QgsProviderUtils with a method for determining whether a list
of sublayer details is incomplete and requires a more in-depth scan
2021-07-02 09:49:33 +10:00

46 lines
1.6 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 );
%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.
%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 *
************************************************************************/