QGIS API Documentation
2.18.21-Las Palmas (9fba24a)
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
()
26
: mValid( false )
27
, mFormat(
QgsRaster
::IdentifyFormatUndefined )
28
{
29
}
30
31
QgsRasterIdentifyResult::QgsRasterIdentifyResult
(
QgsRaster::IdentifyFormat
theFormat,
const
QMap<int, QVariant>
& theResults )
32
: mValid( true )
33
, mFormat( theFormat )
34
, mResults( theResults )
35
{
36
}
37
38
QgsRasterIdentifyResult::QgsRasterIdentifyResult
(
const
QgsError
& theError )
39
: mValid( false )
40
, mFormat(
QgsRaster
::IdentifyFormatUndefined )
41
, mError( theError )
42
{
43
}
44
45
QgsRasterIdentifyResult::~QgsRasterIdentifyResult
()
46
{
47
}
QgsRaster::IdentifyFormat
IdentifyFormat
Definition:
qgsraster.h:54
QgsRasterIdentifyResult::QgsRasterIdentifyResult
QgsRasterIdentifyResult()
Definition:
qgsrasteridentifyresult.cpp:25
QMap< int, QVariant >
qgsrasteridentifyresult.h
QgsRasterIdentifyResult::~QgsRasterIdentifyResult
virtual ~QgsRasterIdentifyResult()
Definition:
qgsrasteridentifyresult.cpp:45
QgsRaster
Raster namespace.
Definition:
qgsraster.h:28
QgsError
QgsError is container for error messages (report).
Definition:
qgserror.h:80
qgis.h
qgsrasterdataprovider.h
qgslogger.h
Generated on Sun Jun 24 2018 11:42:48 for QGIS API Documentation by
1.8.13