QGIS API Documentation  3.8.0-Zanzibar (11aff65)
QgsVectorLayerUtils Member List

This is the complete list of members for QgsVectorLayerUtils, including all inherited members.

createFeature(const QgsVectorLayer *layer, const QgsGeometry &geometry=QgsGeometry(), const QgsAttributeMap &attributes=QgsAttributeMap(), QgsExpressionContext *context=nullptr)QgsVectorLayerUtilsstatic
createFeatures(const QgsVectorLayer *layer, const QgsFeaturesDataList &featuresData, QgsExpressionContext *context=nullptr)QgsVectorLayerUtilsstatic
createUniqueValue(const QgsVectorLayer *layer, int fieldIndex, const QVariant &seed=QVariant())QgsVectorLayerUtilsstatic
createUniqueValueFromCache(const QgsVectorLayer *layer, int fieldIndex, const QSet< QVariant > &existingValues, const QVariant &seed=QVariant())QgsVectorLayerUtilsstatic
duplicateFeature(QgsVectorLayer *layer, const QgsFeature &feature, QgsProject *project, int depth, QgsDuplicateFeatureContext &duplicateFeatureContext)QgsVectorLayerUtilsstatic
getDoubleValues(const QgsVectorLayer *layer, const QString &fieldOrExpression, bool &ok, bool selectedOnly=false, int *nullCount=nullptr, QgsFeedback *feedback=nullptr)QgsVectorLayerUtilsstatic
getFeatureSource(QPointer< QgsVectorLayer > layer, QgsFeedback *feedback=nullptr)QgsVectorLayerUtilsstatic
getValues(const QgsVectorLayer *layer, const QString &fieldOrExpression, bool &ok, bool selectedOnly=false, QgsFeedback *feedback=nullptr)QgsVectorLayerUtilsstatic
getValuesIterator(const QgsVectorLayer *layer, const QString &fieldOrExpression, bool &ok, bool selectedOnly)QgsVectorLayerUtilsstatic
makeFeatureCompatible(const QgsFeature &feature, const QgsVectorLayer *layer)QgsVectorLayerUtilsstatic
makeFeaturesCompatible(const QgsFeatureList &features, const QgsVectorLayer *layer)QgsVectorLayerUtilsstatic
matchAttributesToFields(QgsFeature &feature, const QgsFields &fields)QgsVectorLayerUtilsstatic
QgsFeaturesDataList typedefQgsVectorLayerUtils
validateAttribute(const QgsVectorLayer *layer, const QgsFeature &feature, int attributeIndex, QStringList &errors, QgsFieldConstraints::ConstraintStrength strength=QgsFieldConstraints::ConstraintStrengthNotSet, QgsFieldConstraints::ConstraintOrigin origin=QgsFieldConstraints::ConstraintOriginNotSet)QgsVectorLayerUtilsstatic
valueExists(const QgsVectorLayer *layer, int fieldIndex, const QVariant &value, const QgsFeatureIds &ignoreIds=QgsFeatureIds())QgsVectorLayerUtilsstatic