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

Detailed Description

Stores identify results generated by a QgsAbstractProfileResults object.

Since
QGIS 3.26

Definition at line 158 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 146 of file qgsabstractprofilegenerator.cpp.

Member Function Documentation

◆ layer()

QgsMapLayer * QgsProfileIdentifyResults::layer ( ) const
inline

Returns the associated map layer.

Definition at line 170 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 177 of file qgsabstractprofilegenerator.h.


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