QGIS API Documentation 3.41.0-Master (3440c17df1d)
|
#include "qgis_sip.h"
#include "qgis_core.h"
#include "qgis.h"
#include <QDate>
#include <QDateTime>
Go to the source code of this file.
Classes | |
class | QgsDoubleRange |
QgsRange which stores a range of double values. More... | |
class | QgsIntRange |
QgsRange which stores a range of integer values. More... | |
class | QgsRange< T > |
A template based class for storing ranges (lower to upper values). More... | |
class | QgsTemporalRange< T > |
A template based class for storing temporal ranges (beginning to end values). More... | |
Typedefs | |
typedef QgsTemporalRange< QDate > | QgsDateRange |
QgsRange which stores a range of dates. | |
typedef QgsTemporalRange< QDateTime > | QgsDateTimeRange |
QgsRange which stores a range of date times. | |
typedef QgsTemporalRange< QDate > QgsDateRange |
QgsRange which stores a range of dates.
Invalid QDates as the beginning or end are permitted. In this case, the bound is considered to be infinite. E.g. QgsDateRange(QDate(),QDate(2017,1,1)) is treated as a range containing all dates before 2017-1-1. QgsDateRange(QDate(2017,1,1),QDate()) is treated as a range containing all dates after 2017-1-1.
Definition at line 729 of file qgsrange.h.
typedef QgsTemporalRange< QDateTime > QgsDateTimeRange |
QgsRange which stores a range of date times.
Invalid QDateTimes as the beginning or end are permitted. In this case, the bound is considered to be infinite. E.g. QgsDateTimeRange(QDateTime(),QDateTime(2017,1,1)) is treated as a range containing all dates before 2017-1-1. QgsDateTimeRange(QDateTime(2017,1,1),QDateTime()) is treated as a range containing all dates after 2017-1-1.
Definition at line 742 of file qgsrange.h.