|
QGIS API Documentation
2.2.0-Valmiera
|
#include <QMap>#include <QString>#include <QVariant>#include <QList>#include <QHash>#include <QVector>#include <QSet>

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< int, QgsField > | QgsFieldMap |
| typedef QMap< QgsFeatureId, QgsAttributeMap > | QgsChangedAttributesMap |
| typedef QMap< QgsFeatureId, QgsGeometry > | QgsGeometryMap |
| typedef QSet< QgsFeatureId > | QgsFeatureIds |
| typedef QMap< int, QString > | QgsFieldNameMap |
| typedef QList< QgsFeature > | QgsFeatureList |
| #define FID_IS_NEW | ( | fid | ) | (fid<0) |
Definition at line 81 of file qgsfeature.h.
Referenced by QgsVectorLayerEditBuffer::changeAttributeValue(), QgsVectorLayerEditBuffer::changeGeometry(), QgsVectorLayerEditBuffer::deleteFeature(), QgsVectorLayerUndoCommandChangeAttribute::QgsVectorLayerUndoCommandChangeAttribute(), QgsVectorLayerUndoCommandChangeGeometry::QgsVectorLayerUndoCommandChangeGeometry(), QgsVectorLayerUndoCommandDeleteFeature::QgsVectorLayerUndoCommandDeleteFeature(), QgsVectorLayerUndoCommandDeleteFeature::redo(), QgsVectorLayerUndoCommandChangeGeometry::redo(), QgsVectorLayerUndoCommandChangeAttribute::redo(), QgsVectorLayerUndoCommandDeleteFeature::undo(), QgsVectorLayerUndoCommandChangeGeometry::undo(), QgsVectorLayerUndoCommandChangeAttribute::undo(), and QgsVectorLayerUndoCommandDeleteAttribute::undo().
| #define FID_TO_NUMBER | ( | fid | ) | static_cast<qint64>(fid) |
Definition at line 82 of file qgsfeature.h.
Referenced by QgsVectorFileWriter::createFeature(), QgsSpatialIndex::deleteFeature(), and QgsSpatialIndex::insertFeature().
| #define FID_TO_STRING | ( | fid | ) | QString::number( fid ) |
Definition at line 83 of file qgsfeature.h.
Referenced by QgsVectorLayerEditBuffer::commitChanges(), QgsMapToolIdentify::identifyVectorLayer(), QgsPointDisplacementRenderer::printInfoDisplacementGroups(), QgsPalGeometry::QgsPalGeometry(), and QgsAttributeTableModel::removeRows().
| #define STRING_TO_FID | ( | str | ) | (str).toLongLong() |
Definition at line 84 of file qgsfeature.h.
| typedef QMap<int, QVariant> QgsAttributeMap |
Definition at line 98 of file qgsfeature.h.
| typedef QVector<QVariant> QgsAttributes |
Definition at line 100 of file qgsfeature.h.
| typedef QMap<QgsFeatureId, QgsAttributeMap> QgsChangedAttributesMap |
Definition at line 317 of file qgsfeature.h.
| typedef qint64 QgsFeatureId |
Definition at line 30 of file qgsfeature.h.
| typedef QSet<QgsFeatureId> QgsFeatureIds |
Definition at line 322 of file qgsfeature.h.
| typedef QList<QgsFeature> QgsFeatureList |
Definition at line 327 of file qgsfeature.h.
| typedef QMap<int, QgsField> QgsFieldMap |
Definition at line 102 of file qgsfeature.h.
| typedef QMap<int, QString> QgsFieldNameMap |
Definition at line 325 of file qgsfeature.h.
| typedef QMap<QgsFeatureId, QgsGeometry> QgsGeometryMap |
Definition at line 320 of file qgsfeature.h.
1.8.1.2