QGIS/python/core/qgsvectorlayereditpassthrough.sip
Denis Rouzaud 93971d5ed3 [sip] align pointer and reference in blacklisted files
this will facilitate sip diff checking
2017-05-01 17:49:43 +02:00

22 lines
837 B
Plaintext

class QgsVectorLayerEditPassthrough : QgsVectorLayerEditBuffer
{
%TypeHeaderCode
#include <qgsvectorlayereditpassthrough.h>
%End
public:
QgsVectorLayerEditPassthrough( QgsVectorLayer *layer );
bool isModified() const;
bool addFeature( QgsFeature &f );
bool addFeatures( QgsFeatureList &features );
bool deleteFeature( QgsFeatureId fid );
bool deleteFeatures( const QgsFeatureIds &fids );
bool changeGeometry( QgsFeatureId fid, const QgsGeometry &geom );
bool changeAttributeValue( QgsFeatureId fid, int field, const QVariant &newValue, const QVariant &oldValue = QVariant() );
bool addAttribute( const QgsField &field );
bool deleteAttribute( int attr );
bool renameAttribute( int attr, const QString &newName );
bool commitChanges( QStringList &commitErrors );
void rollBack();
};