QGIS API Documentation 3.41.0-Master (af5edcb665c)
|
Stores identify results generated by a QgsAbstractProfileResults object. More...
#include <qgsabstractprofilegenerator.h>
Public Member Functions | |
QgsProfileIdentifyResults (QgsMapLayer *layer=nullptr, const QVector< QVariantMap > &results=QVector< QVariantMap >()) | |
Constructor for QgsProfileIdentifyResult, with the associated map layer. | |
QgsMapLayer * | layer () const |
Returns the associated map layer. | |
QVector< QVariantMap > | results () const |
Returns a list of custom attributes representing the identify results. | |
Stores identify results generated by a QgsAbstractProfileResults object.
Definition at line 157 of file qgsabstractprofilegenerator.h.
QgsProfileIdentifyResults::QgsProfileIdentifyResults | ( | QgsMapLayer * | layer = nullptr , |
const QVector< QVariantMap > & | results = QVector< QVariantMap>() |
||
) |
Constructor for QgsProfileIdentifyResult, with the associated map layer.
Definition at line 151 of file qgsabstractprofilegenerator.cpp.
|
inline |
Returns the associated map layer.
Definition at line 169 of file qgsabstractprofilegenerator.h.
|
inline |
Returns a list of custom attributes representing the identify results.
The interpretation of these is dependent on the QgsAbstractProfileResults subclass which generated the results.
Definition at line 176 of file qgsabstractprofilegenerator.h.