QGIS API Documentation  3.37.0-Master (a5b4d9743e8)
qgsraster.h
Go to the documentation of this file.
1 /***************************************************************************
2  qgsraster.h - Raster namespace
3  --------------------------------------
4  Date : Apr 2013
5  Copyright : (C) 2013 by Radim Blazek
6  email : radim dot blazek 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 #ifndef QGSRASTER_H
19 #define QGSRASTER_H
20 
21 #include "qgis_core.h"
22 #include "qgis_sip.h"
23 #include <QString>
24 
25 #include "qgis.h"
26 
31 class CORE_EXPORT QgsRaster
32 {
33  public:
34 
42  static bool isRepresentableValue( double value, Qgis::DataType dataType ) SIP_SKIP;
43 
52  static double representableValue( double value, Qgis::DataType dataType );
53 };
54 
55 #endif
56 
57 
DataType
Raster data types.
Definition: qgis.h:269
Raster namespace.
Definition: qgsraster.h:32
#define SIP_SKIP
Definition: qgis_sip.h:126