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();
An interface for objects which accept features via addFeature(s) methods.
The feature class encapsulates a single feature including its unique ID, geometry and a list of field...
Encapsulate a field in an attribute table or data source.
Container of fields for a vector layer.
Encapsulates a QGIS project, including sets of map layers and their styles, layouts,...
Manages joined fields for a vector layer.
const QgsVectorJoinList & vectorJoins() const
bool containsJoins() const
Quick way to test if there is any join at all.
Defines left outer join from our vector layer to some other vector layer.
Represents a vector layer which manages a vector based data sets.
QMap< int, QVariant > QgsAttributeMap
QList< QgsFeature > QgsFeatureList
QSet< QgsFeatureId > QgsFeatureIds
qint64 QgsFeatureId
64 bit feature ids negative numbers are used for uncommitted/newly added features
QList< QgsVectorLayerJoinInfo > QgsVectorJoinList