18 #ifndef QGSVECTORLAYERJOINBUFFER_H
19 #define QGSVECTORLAYERJOINBUFFER_H
39 void removeJoin(
const QString& joinLayerId );
48 void updateFieldMap(
QgsFieldMap& fields,
int& maxIndex );
51 void updateFeatureAttributes(
QgsFeature &f,
int maxProviderIndex,
bool all =
false );
54 void createJoinCaches();
57 void writeXml( QDomNode& layer_node, QDomDocument& document )
const;
60 void readXml( QDomNode& layer_node );
67 const QList< QgsVectorJoinInfo >&
vectorJoins()
const {
return mVectorJoins; }
74 const QgsVectorJoinInfo* joinForFieldIndex(
int index,
int maxProviderIndex,
int& indexOffset )
const;
78 static bool maximumIndex(
const QgsFieldMap& fMap,
int& index );
99 void addJoinedFeatureAttributes(
QgsFeature& f,
const QgsVectorJoinInfo& joinInfo,
const QString& joinFieldName,
const QVariant& joinValue,
103 #endif // QGSVECTORLAYERJOINBUFFER_H