18 #ifndef QGSVECTORLAYERJOINBUFFER_H 19 #define QGSVECTORLAYERJOINBUFFER_H 21 #include "qgis_core.h" 50 bool removeJoin(
const QString &joinLayerId );
59 void createJoinCaches();
62 void writeXml( QDomNode &layer_node, QDomDocument &document )
const;
68 void readXml(
const QDomNode &layer_node );
98 static QVector<int> joinSubsetIndices(
QgsVectorLayer *joinLayer,
const QStringList &joinFieldsSubset );
106 QList<const QgsVectorLayerJoinInfo *> joinsWhereFieldIsId(
const QgsField &field )
const;
172 bool changeAttributeValue(
QgsFeatureId fid,
int field,
const QVariant &newValue,
const QVariant &oldValue = QVariant() );
220 void joinedFieldsChanged();
223 void joinedLayerUpdatedFields();
225 void joinedLayerModified();
227 void joinedLayerWillBeDeleted();
246 #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.