QGIS API Documentation  3.4.15-Madeira (e83d02e274)
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
createUniqueValue(const QgsVectorLayer *layer, int fieldIndex, 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
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