QGIS API Documentation  master-59fd5e0
QgsVectorLayerFeatureIterator::FetchJoinInfo Struct Reference

Join information prepared for fast attribute id mapping in QgsVectorLayerJoinBuffer::updateFeatureAttributes(). More...

#include <qgsvectorlayerfeatureiterator.h>

+ Collaboration diagram for QgsVectorLayerFeatureIterator::FetchJoinInfo:

List of all members.

Public Member Functions

void addJoinedAttributesCached (QgsFeature &f, const QVariant &joinValue) const
void addJoinedAttributesDirect (QgsFeature &f, const QVariant &joinValue) const

Public Attributes

QgsAttributeList attributes
 attributes to fetch
int indexOffset
 at what position the joined fields start
int joinField
 index of field (of the joined layer) must have equal value
const QgsVectorJoinInfojoinInfo
 cannonical source of information about the join
QgsVectorLayerjoinLayer
 resolved pointer to the joined layer
int targetField
 index of field (of this layer) that drives the join

Detailed Description

Join information prepared for fast attribute id mapping in QgsVectorLayerJoinBuffer::updateFeatureAttributes().

Created in the select() method of QgsVectorLayerJoinBuffer for the joins that contain fetched attributes

Definition at line 75 of file qgsvectorlayerfeatureiterator.h.


Member Function Documentation


Member Data Documentation

index of field (of the joined layer) must have equal value

Definition at line 82 of file qgsvectorlayerfeatureiterator.h.

Referenced by addJoinedAttributesCached(), and QgsVectorLayerFeatureIterator::prepareJoins().


The documentation for this struct was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines