QGIS/python/core/auto_generated/raster/qgsrasterbandstats.sip.in
Nyall Dawson d3adc10ec3 Move some todos so they don't sit between member doxygen and declaration
Sipify doesn't handle this, and drops off the docstring from the python method
2020-10-21 09:32:15 +10:00

79 lines
1.8 KiB
Plaintext

/************************************************************************
* This file has been generated automatically from *
* *
* src/core/raster/qgsrasterbandstats.h *
* *
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
************************************************************************/
class QgsRasterBandStats
{
%Docstring
The RasterBandStats struct is a container for statistics about a single
raster band.
%End
%TypeHeaderCode
#include "qgsrasterbandstats.h"
%End
public:
enum Stats
{
None,
Min,
Max,
Range,
Sum,
Mean,
StdDev,
SumOfSquares,
All
};
QgsRasterBandStats();
bool contains( const QgsRasterBandStats &s ) const;
%Docstring
Compares region, size etc. not collected statistics
%End
int bandNumber;
qgssize elementCount;
double maximumValue;
double minimumValue;
double mean;
double range;
double stdDev;
int statsGathered;
double sum;
double sumOfSquares;
int width;
int height;
QgsRectangle extent;
};
/************************************************************************
* This file has been generated automatically from *
* *
* src/core/raster/qgsrasterbandstats.h *
* *
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
************************************************************************/