QGIS API Documentation  2.5.0-Master
 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. More...
 
QString joinLayerId
 Source layer. More...
 
QString joinFieldName
 Join field in the source layer. More...
 
bool memoryCache
 True if the join is cached in virtual memory. More...
 
QHash< QString, QgsAttributescachedAttributes
 Cache for joined attributes to provide fast lookup (size is 0 if no memory caching) More...
 
int targetFieldIndex
 Join field index in the target layer. More...
 
int joinFieldIndex
 Join field index in the source layer. More...
 

Detailed Description

Note
added in 1.7

Definition at line 166 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 179 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 184 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 175 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 182 of file qgsvectorlayer.h.

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

QString QgsVectorJoinInfo::targetFieldName

Join field in the target layer.

Definition at line 169 of file qgsvectorlayer.h.

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


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