A vector of attributes.
More...
#include <qgsfeature.h>
A vector of attributes.
Mostly equal to QVector<QVariant>.
Definition at line 103 of file qgsfeature.h.
| QgsAttributes::QgsAttributes |
( |
| ) |
|
|
inline |
| QgsAttributes::QgsAttributes |
( |
int |
size | ) |
|
|
inline |
| QgsAttributes::QgsAttributes |
( |
int |
size, |
|
|
const QVariant & |
v |
|
) |
| |
|
inline |
| QgsAttributes::QgsAttributes |
( |
const QVector< QVariant > & |
v | ) |
|
|
inline |
Compares two vectors of attributes.
They are considered equal if all their members contain the same value and NULL flag. This was introduced because the default Qt implementation of QVariant comparison does not handle NULL values for certain types (like int).
- Parameters
-
| v | The attributes to compare |
- Returns
- True if v is equal
Definition at line 129 of file qgsfeature.h.
The documentation for this class was generated from the following file: