QGIS API Documentation  2.0.1-Dufour
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Public Attributes | List of all members
QgsVectorJoinInfo Struct Reference

#include <qgsvectorlayer.h>

Public Attributes

QString targetFieldName
 Join field in the target layer.
QString joinLayerId
 Source layer.
QString joinFieldName
 Join field in the source layer.
bool memoryCache
 True if the join is cached in virtual memory.
QHash< QString, QgsAttributescachedAttributes
 Cache for joined attributes to provide fast lookup (size is 0 if no memory caching)
int targetFieldIndex
 Join field index in the target layer.
int joinFieldIndex
 Join field index in the source layer.

Detailed Description

Note
added in 1.7

Definition at line 122 of file qgsvectorlayer.h.

Member Data Documentation

QHash< QString, QgsAttributes> QgsVectorJoinInfo::cachedAttributes

Cache for joined attributes to provide fast lookup (size is 0 if no memory caching)

Note
not available in python bindings

Definition at line 135 of file qgsvectorlayer.h.

Referenced by QgsVectorLayerFeatureIterator::addJoinedAttributes(), QgsVectorLayerFeatureIterator::FetchJoinInfo::addJoinedAttributesCached(), and QgsVectorLayerJoinBuffer::cacheJoinLayer().

int QgsVectorJoinInfo::joinFieldIndex

Join field index in the source layer.

For backward compatibility with 1.x (x>=7)

Definition at line 140 of file qgsvectorlayer.h.

Referenced by QgsVectorLayerJoinBuffer::cacheJoinLayer(), QgsVectorLayerFeatureIterator::prepareJoins(), and QgsVectorLayerJoinBuffer::readXml().

QString QgsVectorJoinInfo::joinFieldName
QString QgsVectorJoinInfo::joinLayerId
bool QgsVectorJoinInfo::memoryCache

True if the join is cached in virtual memory.

Definition at line 131 of file qgsvectorlayer.h.

Referenced by QgsVectorLayerJoinBuffer::addJoin(), QgsVectorLayerJoinBuffer::cacheJoinLayer(), and QgsVectorLayerJoinBuffer::readXml().

int QgsVectorJoinInfo::targetFieldIndex

Join field index in the target layer.

For backward compatibility with 1.x (x>=7)

Definition at line 138 of file qgsvectorlayer.h.

Referenced by QgsVectorLayerFeatureIterator::prepareJoins(), and QgsVectorLayerJoinBuffer::readXml().

QString QgsVectorJoinInfo::targetFieldName

Join field in the target layer.

Definition at line 125 of file qgsvectorlayer.h.

Referenced by QgsVectorLayerFeatureIterator::prepareJoins(), and QgsVectorLayerJoinBuffer::readXml().


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