18 #ifndef QGSLAYERMETADATA_H
19 #define QGSLAYERMETADATA_H
22 #include "qgis_core.h"
99 QList< QgsLayerMetadata::SpatialExtent > spatialExtents()
const;
105 void setSpatialExtents(
const QList< QgsLayerMetadata::SpatialExtent > &extents );
114 QList< QgsDateTimeRange > temporalExtents()
const;
120 void setTemporalExtents(
const QList< QgsDateTimeRange > &extents );
128 QList< QgsLayerMetadata::SpatialExtent > mSpatialExtents;
129 QList< QgsDateTimeRange > mTemporalExtents;
144 Constraint(
const QString &constraint = QString(),
const QString &type = QString() )
146 , constraint( constraint )
182 QString fees() const;
189 void setFees( const QString &fees );
214 QStringList rights() const;
220 void setRights( const QStringList &rights );
226 QStringList licenses() const;
233 void setLicenses( const QStringList &licenses );
239 QString encoding() const;
245 void setEncoding( const QString &encoding );
319 bool readMetadataXml( const QDomElement &metadataElement ) override;
320 bool writeMetadataXml( QDomElement &metadataElement, QDomDocument &document ) const override;
338 QStringList mLicenses;
360 #endif // QGSLAYERMETADATA_H