QGIS API Documentation  3.14.0-Pi (9f7028fd23)
Classes | Typedefs
qgsrange.h File Reference
#include "qgis_sip.h"
#include "qgis_core.h"
#include <QDate>
#include <QDateTime>
Include dependency graph for qgsrange.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  QgsRange< T >
 
class  QgsTemporalRange< T >
 

Typedefs

typedef QgsRange< double > QgsDoubleRange
 QgsRange which stores a range of double values. More...
 
typedef QgsRange< int > QgsIntRange
 QgsRange which stores a range of integer values. More...
 
typedef QgsTemporalRange< QDate > QgsDateRange SIP_DOC_TEMPLATE
 QgsRange which stores a range of dates. More...
 

Typedef Documentation

◆ QgsDoubleRange

typedef QgsRange< double > QgsDoubleRange

QgsRange which stores a range of double values.

See also
QgsIntRange
QgsDateRange
QgsDateTimeRange
Since
QGIS 3.0

Definition at line 187 of file qgsrange.h.

◆ QgsIntRange

typedef QgsRange< int > QgsIntRange

QgsRange which stores a range of integer values.

See also
QgsDoubleRange
QgsDateRange
QgsDateTimeRange
Since
QGIS 3.0

Definition at line 199 of file qgsrange.h.

◆ SIP_DOC_TEMPLATE

typedef QgsTemporalRange< QDateTime > QgsDateTimeRange SIP_DOC_TEMPLATE

QgsRange which stores a range of dates.

QgsRange which stores a range of date times.

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.

See also
QgsDateTimeRange
Since
QGIS 3.0

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.

See also
QgsDateRange
Since
QGIS 3.0

Definition at line 480 of file qgsrange.h.