QGIS API Documentation 3.41.0-Master (af5edcb665c)
Loading...
Searching...
No Matches
Classes | Typedefs | Functions
qgsfeature.h File Reference
#include "qgis_core.h"
#include "qgis_sip.h"
#include <QExplicitlySharedDataPointer>
#include <QList>
#include <QMap>
#include <QSet>
#include <QString>
#include <QVariant>
#include <QVector>
#include "qgsattributes.h"
#include "qgsfields.h"
#include "qgsfeatureid.h"
#include "qgsvariantutils.h"
#include <memory>
#include "qgsgeometry.h"
Include dependency graph for qgsfeature.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  QgsFeature
 The feature class encapsulates a single feature including its unique ID, geometry and a list of field/values attributes. More...
 

Typedefs

typedef QMap< QgsFeatureId, QgsAttributeMapQgsChangedAttributesMap
 
typedef QList< QgsFeatureQgsFeatureList
 
typedef QMap< QgsFeatureId, QgsGeometryQgsGeometryMap
 

Functions

CORE_EXPORT QDataStream & operator<< (QDataStream &out, const QgsFeature &feature)
 Writes the feature to stream out. QGIS version compatibility is not guaranteed.
 
CORE_EXPORT QDataStream & operator>> (QDataStream &in, QgsFeature &feature)
 Reads a feature from stream in into feature. QGIS version compatibility is not guaranteed.
 
CORE_EXPORT uint qHash (const QgsFeature &key, uint seed=0)
 

Typedef Documentation

◆ QgsChangedAttributesMap

Definition at line 1250 of file qgsfeature.h.

◆ QgsFeatureList

typedef QList<QgsFeature> QgsFeatureList

Definition at line 1264 of file qgsfeature.h.

◆ QgsGeometryMap

Definition at line 1259 of file qgsfeature.h.

Function Documentation

◆ 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 414 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 431 of file qgsfeature.cpp.

◆ qHash()

CORE_EXPORT uint qHash ( const QgsFeature key,
uint  seed = 0 
)

Definition at line 445 of file qgsfeature.cpp.