QGIS API Documentation
4.3.0-Master (16eddb2670e)
Toggle main menu visibility
Loading...
Searching...
No Matches
src
core
raster
qgsrasteridentifyresult.cpp
Go to the documentation of this file.
1
/***************************************************************************
2
qgsrasteridentifyresult.cpp
3
--------------------------------------
4
Date : Apr 8, 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
//#include <QTime>
19
20
#include "
qgsrasteridentifyresult.h
"
21
22
#include "
qgis.h
"
23
#include "
qgslogger.h
"
24
#include "
qgsrasterdataprovider.h
"
25
26
QgsRasterIdentifyResult::QgsRasterIdentifyResult
(
Qgis::RasterIdentifyFormat
format
,
const
QMap<int, QVariant> &
results
)
27
: mValid( true )
28
, mFormat(
format
)
29
, mResults(
results
)
30
{}
31
32
QgsRasterIdentifyResult::QgsRasterIdentifyResult
(
const
QgsError
&
error
)
33
: mError(
error
)
34
{}
Qgis::RasterIdentifyFormat
RasterIdentifyFormat
Raster identify formats.
Definition
qgis.h:5387
QgsError
A container for error messages.
Definition
qgserror.h:83
QgsRasterIdentifyResult::error
QgsError error() const
Returns the last error.
Definition
qgsrasteridentifyresult.h:72
QgsRasterIdentifyResult::results
QMap< int, QVariant > results() const
Returns the identify results.
Definition
qgsrasteridentifyresult.h:63
QgsRasterIdentifyResult::format
Qgis::RasterIdentifyFormat format() const
Returns the results format.
Definition
qgsrasteridentifyresult.h:54
QgsRasterIdentifyResult::QgsRasterIdentifyResult
QgsRasterIdentifyResult()=default
qgis.h
qgslogger.h
qgsrasterdataprovider.h
qgsrasteridentifyresult.h
Generated on
for QGIS API Documentation by
1.17.0