QGIS API Documentation  3.10.0-A Coruña (6c816b4204)
Classes | Typedefs
qgsrange.h File Reference
#include "qgis_sip.h"
#include "qgis_core.h"
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 >
 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 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 185 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 197 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 422 of file qgsrange.h.