QGIS API Documentation 3.34.0-Prizren (ffbdd678812)
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
36 QgsIdentifyContext() = default;
37
44 void setTemporalRange( const QgsDateTimeRange &range );
45
52 const QgsDateTimeRange &temporalRange() const;
53
57 bool isTemporal() const;
58
59 private:
60
61 QgsDateTimeRange mTemporalRange;
62
63};
64
65#endif // QGSEXPRESSIONCONTEXT_H
Identify contexts are used to encapsulate the settings to be used to perform an identify action.
QgsIdentifyContext()=default
Constructor for QgsIdentifyContext.