|
QGIS API Documentation
2.8.2-Wien
|
#include <qgsvectorlayer.h>
Public Member Functions | |
| QStringList * | joinFieldNamesSubset () const |
| Get subset of fields to be used from joined layer. | |
| bool | operator== (const QgsVectorJoinInfo &other) const |
| void | setJoinFieldNamesSubset (QStringList *fieldNamesSubset) |
| Set subset of fields to be used from joined layer. | |
Public Attributes | |
| QHash< QString, QgsAttributes > | cachedAttributes |
| Cache for joined attributes to provide fast lookup (size is 0 if no memory caching) | |
| int | joinFieldIndex |
| Join field index in the source layer. | |
| QString | joinFieldName |
| Join field in the source layer. | |
| QString | joinLayerId |
| Source layer. | |
| bool | memoryCache |
| True if the join is cached in virtual memory. | |
| QString | prefix |
| An optional prefix. | |
| int | targetFieldIndex |
| Join field index in the target layer. | |
| QString | targetFieldName |
| Join field in the target layer. | |
Protected Attributes | |
| QSharedPointer< QStringList > | joinFieldsSubset |
| Subset of fields to use from joined layer. | |
Definition at line 165 of file qgsvectorlayer.h.
|
inline |
Get subset of fields to be used from joined layer.
All fields will be used if null is returned.
Definition at line 205 of file qgsvectorlayer.h.
|
inline |
Definition at line 190 of file qgsvectorlayer.h.
|
inline |
Set subset of fields to be used from joined layer.
Takes ownership of the passed pointer. Null pointer tells to use all fields.
Definition at line 202 of file qgsvectorlayer.h.
| QHash< QString, QgsAttributes> QgsVectorJoinInfo::cachedAttributes |
Cache for joined attributes to provide fast lookup (size is 0 if no memory caching)
Definition at line 178 of file qgsvectorlayer.h.
| int QgsVectorJoinInfo::joinFieldIndex |
Join field index in the source layer.
For backward compatibility with 1.x (x>=7)
Definition at line 183 of file qgsvectorlayer.h.
| QString QgsVectorJoinInfo::joinFieldName |
Join field in the source layer.
Definition at line 172 of file qgsvectorlayer.h.
|
protected |
Subset of fields to use from joined layer.
null = use all fields
Definition at line 209 of file qgsvectorlayer.h.
| QString QgsVectorJoinInfo::joinLayerId |
Source layer.
Definition at line 170 of file qgsvectorlayer.h.
| bool QgsVectorJoinInfo::memoryCache |
True if the join is cached in virtual memory.
Definition at line 174 of file qgsvectorlayer.h.
| QString QgsVectorJoinInfo::prefix |
An optional prefix.
If it is a Null string "{layername}_" will be used
Definition at line 188 of file qgsvectorlayer.h.
| int QgsVectorJoinInfo::targetFieldIndex |
Join field index in the target layer.
For backward compatibility with 1.x (x>=7)
Definition at line 181 of file qgsvectorlayer.h.
| QString QgsVectorJoinInfo::targetFieldName |
Join field in the target layer.
Definition at line 168 of file qgsvectorlayer.h.
1.8.1.2