QGIS API Documentation 3.41.0-Master (fda2aa46e9a)
Loading...
Searching...
No Matches
qgsidentifycontext.h
Go to the documentation of this file.
1/***************************************************************************
2 qgsidentifycontext.h
3 --------------------
4 Date : November 2020
5 Copyright : (C) 2020 by Mathieu Pellerin
6 Email : nirvn dot asia at gmail dot com
7 ***************************************************************************
8 * *
9 * This program is free software; you can redistribute it and/or modify *
10 * it under the terms of the GNU General Public License as published by *
11 * the Free Software Foundation; either version 2 of the License, or *
12 * (at your option) any later version. *
13 * *
14 ***************************************************************************/
15#ifndef QGSIDENTIFYCONTEXT_H
16#define QGSIDENTIFYCONTEXT_H
17
18#include "qgis_core.h"
19#include "qgis_sip.h"
20
21#include "qgsrange.h"
22
31class CORE_EXPORT QgsIdentifyContext
32{
33 public:
34
35 QgsIdentifyContext() = default;
36
43 void setTemporalRange( const QgsDateTimeRange &range );
44
51 const QgsDateTimeRange &temporalRange() const;
52
56 bool isTemporal() const;
57
65 QgsDoubleRange zRange() const;
66
75 void setZRange( const QgsDoubleRange &range );
76
77 private:
78
79 QgsDateTimeRange mTemporalRange;
80 QgsDoubleRange mZRange;
81
82};
83
84#endif // QGSEXPRESSIONCONTEXT_H
QgsRange which stores a range of double values.
Definition qgsrange.h:231
Identify contexts are used to encapsulate the settings to be used to perform an identify action.
QgsIdentifyContext()=default