QGIS API Documentation
3.18.1-Zürich (202f1bf7e5)
|
Go to the source code of this file.
Macros | |
#define | FID_IS_NEW(fid) ( fid < 0 && fid != std::numeric_limits<QgsFeatureId>::min() ) |
#define | FID_IS_NULL(fid) ( fid == std::numeric_limits<QgsFeatureId>::min() ) |
#define | FID_NULL std::numeric_limits<QgsFeatureId>::min() |
#define | FID_TO_NUMBER(fid) static_cast<qint64>( fid ) |
#define | FID_TO_STRING(fid) ( fid != std::numeric_limits<QgsFeatureId>::min() ? QString::number( fid ) : QStringLiteral( "NULL" ) ) |
#define | STRING_TO_FID(str) ( (str).toLongLong() ) |
Typedefs | |
typedef qint64 | QgsFeatureId |
64 bit feature ids negative numbers are used for uncommitted/newly added features More... | |
typedef QSet< QgsFeatureId > | QgsFeatureIds |
#define FID_IS_NEW | ( | fid | ) | ( fid < 0 && fid != std::numeric_limits<QgsFeatureId>::min() ) |
Definition at line 31 of file qgsfeatureid.h.
#define FID_IS_NULL | ( | fid | ) | ( fid == std::numeric_limits<QgsFeatureId>::min() ) |
Definition at line 30 of file qgsfeatureid.h.
#define FID_NULL std::numeric_limits<QgsFeatureId>::min() |
Definition at line 29 of file qgsfeatureid.h.
#define FID_TO_NUMBER | ( | fid | ) | static_cast<qint64>( fid ) |
Definition at line 32 of file qgsfeatureid.h.
#define FID_TO_STRING | ( | fid | ) | ( fid != std::numeric_limits<QgsFeatureId>::min() ? QString::number( fid ) : QStringLiteral( "NULL" ) ) |
Definition at line 33 of file qgsfeatureid.h.
#define STRING_TO_FID | ( | str | ) | ( (str).toLongLong() ) |
Definition at line 34 of file qgsfeatureid.h.
typedef qint64 QgsFeatureId |
64 bit feature ids negative numbers are used for uncommitted/newly added features
Definition at line 28 of file qgsfeatureid.h.
typedef QSet<QgsFeatureId> QgsFeatureIds |
Definition at line 37 of file qgsfeatureid.h.