QGIS/python/core/qgsvectorlayereditpassthrough.sip
Nyall Dawson 881074b194 Boost coverage of SIP bindings
Now all classes and members are either exposed to bindings or marked
as "not available in Python bindings" in the docs.

Drop test thresholds to 0. Now it should be much easier to determine
what missing members have been added which are causing test
failures.
2016-01-05 11:16:15 +11:00

21 lines
762 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( QgsFeatureIds fids );
bool changeGeometry( QgsFeatureId fid, 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 commitChanges( QStringList& commitErrors );
void rollBack();
};