18 #ifndef QGSVECTORLAYERJOINBUFFER_H 19 #define QGSVECTORLAYERJOINBUFFER_H 21 #include "qgis_core.h" 51 bool removeJoin(
const QString &joinLayerId );
60 void createJoinCaches();
63 void writeXml( QDomNode &layer_node, QDomDocument &document )
const;
69 void readXml(
const QDomNode &layer_node );
99 static QVector<int> joinSubsetIndices(
QgsVectorLayer *joinLayer,
const QStringList &joinFieldsSubset );
107 QList<const QgsVectorLayerJoinInfo *> joinsWhereFieldIsId(
const QgsField &field )
const;
173 bool changeAttributeValue(
QgsFeatureId fid,
int field,
const QVariant &newValue,
const QVariant &oldValue = QVariant() );
221 void joinedFieldsChanged();
224 void joinedLayerUpdatedFields();
226 void joinedLayerModified();
228 void joinedLayerWillBeDeleted();
247 #endif // QGSVECTORLAYERJOINBUFFER_H QSet< QgsFeatureId > QgsFeatureIds
QList< QgsFeature > QgsFeatureList
const QgsVectorJoinList & vectorJoins() const
An interface for objects which accept features via addFeature(s) methods.
Container of fields for a vector layer.
The feature class encapsulates a single feature including its id, geometry and a list of field/values...
Manages joined fields for a vector layer.
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.
QMap< int, QVariant > QgsAttributeMap
Reads and writes project states.
Encapsulate a field in an attribute table or data source.
virtual bool addFeatures(QgsFeatureList &features, QgsFeatureSink::Flags flags=nullptr)=0
Adds a list of features to the sink.
QList< QgsVectorLayerJoinInfo > QgsVectorJoinList
Represents a vector layer which manages a vector based data sets.