Quantum GIS API Documentation  1.8
Classes | Defines | Typedefs
src/core/qgsfeature.h File Reference
#include <QMap>
#include <QString>
#include <QVariant>
#include <QList>
#include <QHash>
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.


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


#define FID_IS_NEW(fid)   (fid<0)
#define FID_TO_NUMBER(fid)   static_cast<qint64>(fid)
#define FID_TO_STRING(fid)   QString::number( fid )
#define STRING_TO_FID(str)   (str).toLongLong()


typedef qint64 QgsFeatureId
typedef QMap< int, QVariant > QgsAttributeMap
typedef QMap< QgsFeatureId,
typedef QMap< QgsFeatureId,
typedef QSet< QgsFeatureIdQgsFeatureIds
typedef QMap< int, QString > QgsFieldNameMap
typedef QList< QgsFeatureQgsFeatureList

Define Documentation

#define FID_IS_NEW (   fid)    (fid<0)
#define FID_TO_NUMBER (   fid)    static_cast<qint64>(fid)
#define FID_TO_STRING (   fid)    QString::number( fid )
#define STRING_TO_FID (   str)    (str).toLongLong()

Definition at line 81 of file qgsfeature.h.

Typedef Documentation

typedef QMap<int, QVariant> QgsAttributeMap

Definition at line 95 of file qgsfeature.h.

Definition at line 252 of file qgsfeature.h.

typedef qint64 QgsFeatureId

Definition at line 27 of file qgsfeature.h.

typedef QSet<QgsFeatureId> QgsFeatureIds

Definition at line 257 of file qgsfeature.h.

typedef QList<QgsFeature> QgsFeatureList

Definition at line 262 of file qgsfeature.h.

typedef QMap<int, QString> QgsFieldNameMap

Definition at line 260 of file qgsfeature.h.

Definition at line 255 of file qgsfeature.h.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines