QGIS API Documentation 3.38.0-Grenoble (exported)
Loading...
Searching...
No Matches
Public Member Functions | List of all members
QgsVectorLayerUtils::QgsFeatureData Class Reference

Encapsulate geometry and attributes for new features, to be passed to createFeatures. More...

#include <qgsvectorlayerutils.h>

Public Member Functions

 QgsFeatureData (const QgsGeometry &geometry=QgsGeometry(), const QgsAttributeMap &attributes=QgsAttributeMap())
 Constructs a new QgsFeatureData with given geometry and attributes.
 
QgsAttributeMap attributes () const
 Returns attributes.
 
QgsGeometry geometry () const
 Returns geometry.
 

Detailed Description

Encapsulate geometry and attributes for new features, to be passed to createFeatures.

See also
createFeatures()
Since
QGIS 3.6

Definition at line 96 of file qgsvectorlayerutils.h.

Constructor & Destructor Documentation

◆ QgsFeatureData()

QgsVectorLayerUtils::QgsFeatureData::QgsFeatureData ( const QgsGeometry geometry = QgsGeometry(),
const QgsAttributeMap attributes = QgsAttributeMap() 
)

Constructs a new QgsFeatureData with given geometry and attributes.

Definition at line 873 of file qgsvectorlayerutils.cpp.

Member Function Documentation

◆ attributes()

QgsAttributeMap QgsVectorLayerUtils::QgsFeatureData::attributes ( ) const

Returns attributes.

Definition at line 883 of file qgsvectorlayerutils.cpp.

◆ geometry()

QgsGeometry QgsVectorLayerUtils::QgsFeatureData::geometry ( ) const

Returns geometry.

Definition at line 878 of file qgsvectorlayerutils.cpp.


The documentation for this class was generated from the following files: