QGIS API Documentation
3.16.0-Hannover (43b64b13f3)
|
Go to the documentation of this file.
46 return ( mLayer && mFeature.
isValid() && hasValidGeometry() );
51 return ( mLayer == other.
layer() ) && ( mFeature == other.
feature() );
56 return ( mLayer != other.
layer() ) || ( mFeature != other.
feature() );
59 bool QgsQuickFeatureLayerPair::hasValidGeometry()
const
bool operator!=(const QgsQuickFeatureLayerPair &other) const
QgsQuickFeatureLayerPair()
Constructs invalid feature-layer pair.
bool isValid() const
Returns the validity of this feature.
Q_GADGET QgsVectorLayer * layer
Vector layer to which the feature belongs.
bool operator==(const QgsQuickFeatureLayerPair &other) const
QgsFeature feature
Feature that belongs to layer.
Represents a vector layer which manages a vector based data sets.
bool hasGeometry() const
Returns true if the feature has an associated geometry.
Pair of QgsFeature and QgsVectorLayer.
The feature class encapsulates a single feature including its id, geometry and a list of field/values...
bool isValid() const
Whether.
QgsWkbTypes::GeometryType type
Q_INVOKABLE QgsWkbTypes::GeometryType geometryType() const
Returns point, line or polygon.
QgsFeature & featureRef()
Feature that belongs to layer.