QGIS API Documentation
3.0.2-Girona (307d082)
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 "
qgis.h
"
21
#include "
qgslogger.h
"
22
#include "
qgsrasteridentifyresult.h
"
23
#include "
qgsrasterdataprovider.h
"
24
25
QgsRasterIdentifyResult::QgsRasterIdentifyResult
(
QgsRaster::IdentifyFormat
format,
const
QMap<int, QVariant> &results )
26
: mValid( true )
27
, mFormat( format )
28
, mResults( results )
29
{
30
}
31
32
QgsRasterIdentifyResult::QgsRasterIdentifyResult
(
const
QgsError
&
error
)
33
: mError( error )
34
{
35
}
36
QgsRaster::IdentifyFormat
IdentifyFormat
Definition:
qgsraster.h:57
QgsRasterIdentifyResult::QgsRasterIdentifyResult
QgsRasterIdentifyResult()=default
Constructor for QgsRasterIdentifyResult.
qgsrasteridentifyresult.h
QgsError
QgsError is container for error messages (report).
Definition:
qgserror.h:80
QgsRasterIdentifyResult::error
QgsError error() const
Get error.
Definition:
qgsrasteridentifyresult.h:75
qgis.h
qgsrasterdataprovider.h
qgslogger.h
Generated on Sat Apr 21 2018 11:45:00 for QGIS API Documentation by
1.8.13