18 #ifndef QGSVECTORLAYERJOINBUFFER_H 19 #define QGSVECTORLAYERJOINBUFFER_H 21 #include "qgis_core.h" 53 bool removeJoin(
const QString &joinLayerId );
62 void createJoinCaches();
65 void writeXml( QDomNode &layer_node, QDomDocument &document )
const;
71 void readXml(
const QDomNode &layer_node );
103 static QVector<int> joinSubsetIndices(
QgsVectorLayer *joinLayer,
const QStringList &joinFieldsSubset );
111 QList<const QgsVectorLayerJoinInfo *> joinsWhereFieldIsId(
const QgsField &field )
const;
177 bool changeAttributeValue(
QgsFeatureId fid,
int field,
const QVariant &newValue,
const QVariant &oldValue = QVariant() );
225 void joinedFieldsChanged();
228 void joinedLayerUpdatedFields();
230 void joinedLayerModified();
232 void joinedLayerWillBeDeleted();
251 #endif // QGSVECTORLAYERJOINBUFFER_H bool containsJoins() const
Quick way to test if there is any join at all.
QSet< QgsFeatureId > QgsFeatureIds
QList< QgsFeature > QgsFeatureList
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.
Defines left outer join from our vector layer to some other vector layer.
QMap< int, QVariant > QgsAttributeMap
Encapsulates a QGIS project, including sets of map layers and their styles, layouts, annotations, canvases, etc.
const QgsVectorJoinList & vectorJoins() const
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.