QGIS API Documentation  2.5.0-Master
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Classes | Macros | Typedefs
qgsfeature.h File Reference
#include <QMap>
#include <QString>
#include <QVariant>
#include <QList>
#include <QHash>
#include <QVector>
#include <QSet>
#include "qgsfield.h"
Include dependency graph for qgsfeature.h:

Go to the source code of this file.

Classes

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

Macros

#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()
 

Typedefs

typedef qint64 QgsFeatureId
 
typedef QMap< int, QVariant > QgsAttributeMap
 
typedef QVector< QVariant > QgsAttributes
 
typedef QMap< QgsFeatureId,
QgsAttributeMap
QgsChangedAttributesMap
 
typedef QMap< QgsFeatureId,
QgsGeometry
QgsGeometryMap
 
typedef QSet< QgsFeatureIdQgsFeatureIds
 
typedef QMap< int, QString > QgsFieldNameMap
 
typedef QList< QgsFeatureQgsFeatureList
 

Macro Definition 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()

Typedef Documentation

typedef QMap<int, QVariant> QgsAttributeMap
typedef QVector<QVariant> QgsAttributes
typedef qint64 QgsFeatureId
typedef QSet<QgsFeatureId> QgsFeatureIds
typedef QList<QgsFeature> QgsFeatureList
typedef QMap<int, QString> QgsFieldNameMap