QGIS API Documentation 3.41.0-Master (3291e9ff48b)
Loading...
Searching...
No Matches
Public Member Functions | Protected Attributes | List of all members
QgsDataProviderElevationProperties Class Reference

Base class for handling elevation related properties for a data provider. More...

#include <qgsdataproviderelevationproperties.h>

Inheritance diagram for QgsDataProviderElevationProperties:
Inheritance graph
[legend]

Public Member Functions

 QgsDataProviderElevationProperties ()
 Constructor for QgsDataProviderElevationProperties.
 
virtual ~QgsDataProviderElevationProperties ()
 
virtual bool containsElevationData () const
 Returns true if the data provider definitely contains elevation related data.
 
virtual void setContainsElevationData (bool contains)
 Sets whether the data provider definitely contains elevation related data.
 

Protected Attributes

bool mContainsElevationData = false
 

Detailed Description

Base class for handling elevation related properties for a data provider.

Since
QGIS 3.32

Definition at line 32 of file qgsdataproviderelevationproperties.h.

Constructor & Destructor Documentation

◆ QgsDataProviderElevationProperties()

QgsDataProviderElevationProperties::QgsDataProviderElevationProperties ( )
default

◆ ~QgsDataProviderElevationProperties()

QgsDataProviderElevationProperties::~QgsDataProviderElevationProperties ( )
virtualdefault

Member Function Documentation

◆ containsElevationData()

bool QgsDataProviderElevationProperties::containsElevationData ( ) const
virtual

Returns true if the data provider definitely contains elevation related data.

Note
Even if this method returns false, the data may still relate to elevation values. true will only be returned in situations where elevation data is definitively present.
See also
setContainsElevationData()
Since
QGIS 3.36

Definition at line 23 of file qgsdataproviderelevationproperties.cpp.

◆ setContainsElevationData()

void QgsDataProviderElevationProperties::setContainsElevationData ( bool  contains)
virtual

Sets whether the data provider definitely contains elevation related data.

See also
containsElevationData()
Since
QGIS 3.36

Definition at line 28 of file qgsdataproviderelevationproperties.cpp.

Member Data Documentation

◆ mContainsElevationData

bool QgsDataProviderElevationProperties::mContainsElevationData = false
protected

Definition at line 77 of file qgsdataproviderelevationproperties.h.


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