18 #ifndef QGSLAYERMETADATA_H 19 #define QGSLAYERMETADATA_H 22 #include "qgis_core.h" 98 QList< QgsLayerMetadata::SpatialExtent > spatialExtents()
const;
104 void setSpatialExtents(
const QList< QgsLayerMetadata::SpatialExtent > &extents );
113 QList< QgsDateTimeRange > temporalExtents()
const;
119 void setTemporalExtents(
const QList< QgsDateTimeRange > &extents );
126 QList< QgsLayerMetadata::SpatialExtent > mSpatialExtents;
127 QList< QgsDateTimeRange > mTemporalExtents;
142 Constraint(
const QString &constraint = QString(),
const QString &type = QString() )
144 , constraint( constraint )
179 QString fees() const;
186 void setFees( const QString &fees );
211 QStringList rights() const;
217 void setRights( const QStringList &rights );
223 QStringList licenses() const;
230 void setLicenses( const QStringList &licenses );
236 QString encoding() const;
242 void setEncoding( const QString &encoding );
316 bool readMetadataXml( const QDomElement &metadataElement ) override;
317 bool writeMetadataXml( QDomElement &metadataElement, QDomDocument &document ) const override;
332 ConstraintList mConstraints;
334 QStringList mLicenses;
356 #endif // QGSLAYERMETADATA_H Base class for all map layer types.
bool operator==(const QgsFeatureIterator &fi1, const QgsFeatureIterator &fi2)
const QgsCoordinateReferenceSystem & crs
A 3-dimensional box composed of x, y, z coordinates.
Q_DECLARE_METATYPE(QModelIndex)
This class represents a coordinate reference system (CRS).