2013-04-08 18:25:44 +02:00
|
|
|
class QgsRasterIdentifyResult
|
|
|
|
{
|
|
|
|
%TypeHeaderCode
|
|
|
|
#include <qgsrasteridentifyresult.h>
|
|
|
|
%End
|
|
|
|
public:
|
|
|
|
QgsRasterIdentifyResult();
|
|
|
|
|
2013-04-24 17:18:15 +02:00
|
|
|
QgsRasterIdentifyResult( QgsRaster::IdentifyFormat theFormat, QMap<int, QVariant> theResults );
|
2013-04-08 18:25:44 +02:00
|
|
|
|
|
|
|
QgsRasterIdentifyResult( QgsError theError );
|
|
|
|
|
|
|
|
virtual ~QgsRasterIdentifyResult();
|
|
|
|
|
|
|
|
bool isValid() const;
|
|
|
|
|
2013-04-24 17:18:15 +02:00
|
|
|
QgsRaster::IdentifyFormat format() const;
|
2013-04-08 18:25:44 +02:00
|
|
|
|
|
|
|
QMap<int, QVariant> results() const;
|
|
|
|
|
|
|
|
void setParams( const QMap<QString, QVariant> & theParams );
|
|
|
|
|
|
|
|
QMap<QString, QVariant> params() const;
|
|
|
|
|
|
|
|
QgsError error() const;
|
|
|
|
|
|
|
|
void setError( const QgsError & theError );
|
|
|
|
};
|
|
|
|
|