QGIS API Documentation  3.4.15-Madeira (e83d02e274)
Public Member Functions | Public Attributes | List of all members
QgsVectorLayerFeatureIterator::FetchJoinInfo Struct Reference

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

#include <qgsvectorlayerfeatureiterator.h>

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. More...
 
int indexOffset
 At what position the joined fields start. More...
 
int joinField
 Index of field (of the joined layer) must have equal value. More...
 
const QgsVectorLayerJoinInfojoinInfo
 Canonical source of information about the join. More...
 
QgsVectorLayerjoinLayer
 Resolved pointer to the joined layer. More...
 
int targetField
 Index of field (of this layer) that drives the join. More...
 

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 139 of file qgsvectorlayerfeatureiterator.h.

Member Function Documentation

void QgsVectorLayerFeatureIterator::FetchJoinInfo::addJoinedAttributesCached ( QgsFeature f,
const QVariant &  joinValue 
) const

Definition at line 912 of file qgsvectorlayerfeatureiterator.cpp.

void QgsVectorLayerFeatureIterator::FetchJoinInfo::addJoinedAttributesDirect ( QgsFeature f,
const QVariant &  joinValue 
) const

Definition at line 930 of file qgsvectorlayerfeatureiterator.cpp.

Member Data Documentation

QgsAttributeList QgsVectorLayerFeatureIterator::FetchJoinInfo::attributes

Attributes to fetch.

Definition at line 142 of file qgsvectorlayerfeatureiterator.h.

int QgsVectorLayerFeatureIterator::FetchJoinInfo::indexOffset

At what position the joined fields start.

Definition at line 143 of file qgsvectorlayerfeatureiterator.h.

int QgsVectorLayerFeatureIterator::FetchJoinInfo::joinField

Index of field (of the joined layer) must have equal value.

Definition at line 146 of file qgsvectorlayerfeatureiterator.h.

const QgsVectorLayerJoinInfo* QgsVectorLayerFeatureIterator::FetchJoinInfo::joinInfo

Canonical source of information about the join.

Definition at line 141 of file qgsvectorlayerfeatureiterator.h.

QgsVectorLayer* QgsVectorLayerFeatureIterator::FetchJoinInfo::joinLayer

Resolved pointer to the joined layer.

Definition at line 144 of file qgsvectorlayerfeatureiterator.h.

int QgsVectorLayerFeatureIterator::FetchJoinInfo::targetField

Index of field (of this layer) that drives the join.

Definition at line 145 of file qgsvectorlayerfeatureiterator.h.


The documentation for this struct was generated from the following files: