QGIS API Documentation 3.41.0-Master (3440c17df1d)
Loading...
Searching...
No Matches
qgsdataproviderelevationproperties.h
Go to the documentation of this file.
1/***************************************************************************
2 qgsdataproviderelevationproperties.h
3 ---------------
4 begin : May 2023
5 copyright : (C) 2023 by Nyall Dawson
6 email : nyall dot dawson at gmail dot com
7 ***************************************************************************/
8
9/***************************************************************************
10 * *
11 * This program is free software; you can redistribute it and/or modify *
12 * it under the terms of the GNU General Public License as published by *
13 * the Free Software Foundation; either version 2 of the License, or *
14 * (at your option) any later version. *
15 * *
16 ***************************************************************************/
17
18
19#ifndef QGSDATAPROVIDERELEVATIONPROPERTIES_H
20#define QGSDATAPROVIDERELEVATIONPROPERTIES_H
21
22#include "qgis_core.h"
23#include "qgis_sip.h"
24
33{
34
35#ifdef SIP_RUN
37 if ( dynamic_cast<QgsRasterDataProviderElevationProperties *>( sipCpp ) )
38 {
39 sipType = sipType_QgsRasterDataProviderElevationProperties;
40 }
41 else
42 {
43 sipType = 0;
44 }
46#endif
47
48 public:
49
54
64 virtual bool containsElevationData() const;
65
72 virtual void setContainsElevationData( bool contains );
73
75
76 protected:
77 bool mContainsElevationData = false;
78
79};
80
81#endif // QGSDATAPROVIDERELEVATIONPROPERTIES_H
Base class for handling elevation related properties for a data provider.
QgsDataProviderElevationProperties()
Constructor for QgsDataProviderElevationProperties.
Handles elevation related properties for a raster data provider.
#define SIP_CONVERT_TO_SUBCLASS_CODE(code)
Definition qgis_sip.h:191
#define SIP_END
Definition qgis_sip.h:208