18 #ifndef QGSVECTORLAYERJOINBUFFER_H
19 #define QGSVECTORLAYERJOINBUFFER_H
21 #include "qgis_core.h"
54 bool removeJoin(
const QString &joinLayerId );
63 void createJoinCaches();
66 void writeXml( QDomNode &layer_node, QDomDocument &document )
const;
72 void readXml(
const QDomNode &layer_node );
104 static QVector<int> joinSubsetIndices(
QgsVectorLayer *joinLayer,
const QStringList &joinFieldsSubset );
110 static QVector<int> joinSubsetIndices(
const QgsFields &joinLayerFields,
const QStringList &joinFieldsSubset );
118 QList<const QgsVectorLayerJoinInfo *> joinsWhereFieldIsId(
const QgsField &
field )
const;
184 bool changeAttributeValue(
QgsFeatureId fid,
int field, const QVariant &newValue, const QVariant &oldValue = QVariant() );
234 void joinedFieldsChanged();
237 void joinedLayerUpdatedFields();
239 void joinedLayerModified();
241 void joinedLayerWillBeDeleted();
260 #endif // QGSVECTORLAYERJOINBUFFER_H