#include "qgis_core.h"
#include "qgis.h"
#include <QExplicitlySharedDataPointer>
#include <QList>
#include <QMap>
#include <QSet>
#include <QString>
#include <QVariant>
#include <QVector>
#include "qgsattributes.h"
#include "qgsfields.h"
#include "qgsgeometry.h"
Go to the source code of this file.
|
class | QgsFeature |
| The feature class encapsulates a single feature including its id, geometry and a list of field/values attributes. More...
|
|
|
CORE_EXPORT QDataStream & | operator<< (QDataStream &out, const QgsFeature &feature) |
| Writes the feature to stream out. QGIS version compatibility is not guaranteed. More...
|
|
CORE_EXPORT QDataStream & | operator>> (QDataStream &in, QgsFeature &feature) |
| Reads a feature from stream in into feature. QGIS version compatibility is not guaranteed. More...
|
|
uint | qHash (const QgsFeature &key, uint seed=0) |
|
◆ FID_IS_NEW
#define FID_IS_NEW |
( |
|
fid | ) |
(fid<0) |
◆ FID_TO_NUMBER
#define FID_TO_NUMBER |
( |
|
fid | ) |
static_cast<qint64>(fid) |
◆ FID_TO_STRING
#define FID_TO_STRING |
( |
|
fid | ) |
QString::number( fid ) |
◆ STRING_TO_FID
#define STRING_TO_FID |
( |
|
str | ) |
(str).toLongLong() |
◆ QgsChangedAttributesMap
◆ QgsFeatureId
◆ QgsFeatureIds
◆ QgsFeatureList
◆ QgsGeometryMap
◆ operator<<()
CORE_EXPORT QDataStream& operator<< |
( |
QDataStream & |
out, |
|
|
const QgsFeature & |
feature |
|
) |
| |
Writes the feature to stream out. QGIS version compatibility is not guaranteed.
Definition at line 281 of file qgsfeature.cpp.
◆ operator>>()
CORE_EXPORT QDataStream& operator>> |
( |
QDataStream & |
in, |
|
|
QgsFeature & |
feature |
|
) |
| |
Reads a feature from stream in into feature. QGIS version compatibility is not guaranteed.
Definition at line 298 of file qgsfeature.cpp.
◆ qHash()
uint qHash |
( |
const QgsFeature & |
key, |
|
|
uint |
seed = 0 |
|
) |
| |