QGIS API Documentation 3.41.0-Master (25ec5511245)
Loading...
Searching...
No Matches
Public Member Functions | List of all members
QgsProfileIdentifyResults Class Reference

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.
 
QgsMapLayerlayer () const
 Returns the associated map layer.
 
QVector< QVariantMap > results () const
 Returns a list of custom attributes representing the identify results.
 

Detailed Description

Stores identify results generated by a QgsAbstractProfileResults object.

Since
QGIS 3.26

Definition at line 157 of file qgsabstractprofilegenerator.h.

Constructor & Destructor Documentation

◆ QgsProfileIdentifyResults()

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.

Member Function Documentation

◆ layer()

QgsMapLayer * QgsProfileIdentifyResults::layer ( ) const
inline

Returns the associated map layer.

Definition at line 169 of file qgsabstractprofilegenerator.h.

◆ results()

QVector< QVariantMap > QgsProfileIdentifyResults::results ( ) const
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.


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