QGIS API Documentation 3.99.0-Master (e9821da5c6b)
Loading...
Searching...
No Matches
QgsLayerMetadata::Extent Struct Reference

Metadata extent structure. More...

#include <qgslayermetadata.h>

Public Member Functions

bool operator== (const QgsLayerMetadata::Extent &other) const
void setSpatialExtents (const QList< QgsLayerMetadata::SpatialExtent > &extents)
 Sets the spatial extents of the resource.
void setTemporalExtents (const QList< QgsDateTimeRange > &extents)
 Sets the temporal extents of the resource.
QList< QgsLayerMetadata::SpatialExtentspatialExtents () const
 Spatial extents of the resource.
QList< QgsDateTimeRangetemporalExtents () const
 Temporal extents of the resource.

Detailed Description

Metadata extent structure.

Definition at line 90 of file qgslayermetadata.h.

Member Function Documentation

◆ operator==()

bool QgsLayerMetadata::Extent::operator== ( const QgsLayerMetadata::Extent & other) const

Definition at line 429 of file qgslayermetadata.cpp.

◆ setSpatialExtents()

void QgsLayerMetadata::Extent::setSpatialExtents ( const QList< QgsLayerMetadata::SpatialExtent > & extents)

Sets the spatial extents of the resource.

See also
spatialExtents()

Definition at line 414 of file qgslayermetadata.cpp.

◆ setTemporalExtents()

void QgsLayerMetadata::Extent::setTemporalExtents ( const QList< QgsDateTimeRange > & extents)

Sets the temporal extents of the resource.

See also
temporalExtents()

Definition at line 424 of file qgslayermetadata.cpp.

◆ spatialExtents()

QList< QgsLayerMetadata::SpatialExtent > QgsLayerMetadata::Extent::spatialExtents ( ) const

Spatial extents of the resource.

See also
setSpatialExtents()

Definition at line 409 of file qgslayermetadata.cpp.

◆ temporalExtents()

QList< QgsDateTimeRange > QgsLayerMetadata::Extent::temporalExtents ( ) const

Temporal extents of the resource.

Use QgsDateTimeRange::isInstant() to determine whether the temporal extent is a range or a single point in time. If QgsDateTimeRange::isInfinite() returns true then the temporal extent is considered to be indeterminate and continuous.

See also
setTemporalExtents()

Definition at line 419 of file qgslayermetadata.cpp.


The documentation for this struct was generated from the following files: