QGIS API Documentation
3.14.0-Pi (9f7028fd23)
|
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.
QgsVectorLayer layer
Vector layer to which the feature belongs.
bool isValid() const
Returns the validity of this feature.
bool operator==(const QgsQuickFeatureLayerPair &other) const
QgsFeature feature
Feature that belongs to layer.
bool hasGeometry() const
Returns true if the feature has an associated geometry.
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.