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 );
101 static QVector<int> joinSubsetIndices(
QgsVectorLayer *joinLayer,
const QStringList &joinFieldsSubset );
109 QList<const QgsVectorLayerJoinInfo *> joinsWhereFieldIsId(
const QgsField &field )
const;
175 bool changeAttributeValue(
QgsFeatureId fid,
int field,
const QVariant &newValue,
const QVariant &oldValue = QVariant() );
223 void joinedFieldsChanged();
226 void joinedLayerUpdatedFields();
228 void joinedLayerModified();
230 void joinedLayerWillBeDeleted();
249 #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
Reads and writes project states.
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.