16#ifndef QGSPROVIDERUTILS_H
17#define QGSPROVIDERUTILS_H
42 IgnoreUnknownFeatureCount = 1 << 0,
43 IgnoreUnknownGeometryType = 1 << 1,
45 Q_DECLARE_FLAGS( SublayerCompletenessFlags, SublayerCompletenessFlag )
56 static bool sublayerDetailsAreIncomplete(
const QList< QgsProviderSublayerDetails > &details, QgsProviderUtils::SublayerCompletenessFlags flags = QgsProviderUtils::SublayerCompletenessFlags() );
67 static QString suggestLayerNameFromFilePath(
const QString &path );
Contains details about a sub layer available from a dataset.
Contains utility functions for working with data providers.
SublayerCompletenessFlag
Flags which control how QgsProviderUtils::sublayerDetailsAreIncomplete() tests for completeness.
Q_DECLARE_OPERATORS_FOR_FLAGS(QgsField::ConfigurationFlags) CORE_EXPORT QDataStream &operator<<(QDataStream &out
Writes the field to stream out. QGIS version compatibility is not guaranteed.