QGIS API Documentation
3.0.2-Girona (307d082)
|
Metadata link structure. More...
#include <qgslayermetadata.h>
Public Member Functions | |
Link (const QString &name=QString(), const QString &type=QString(), const QString &url=QString()) | |
Constructor for Link. More... | |
bool | operator== (const QgsLayerMetadata::Link &other) const |
Public Attributes | |
QString | description |
Abstract text about link. More... | |
QString | format |
Format specification of online resource. More... | |
QString | mimeType |
MIME type representative of the online resource response (image/png, application/json, etc.) More... | |
QString | name |
Short link name. More... | |
QString | size |
Estimated size (in bytes) of the online resource response. More... | |
QString | type |
Link type. More... | |
QString | url |
Link url. More... | |
Metadata link structure.
Definition at line 291 of file qgslayermetadata.h.
|
inline |
Constructor for Link.
Definition at line 297 of file qgslayermetadata.h.
bool QgsLayerMetadata::Link::operator== | ( | const QgsLayerMetadata::Link & | other | ) | const |
Definition at line 820 of file qgslayermetadata.cpp.
QString QgsLayerMetadata::Link::description |
Abstract text about link.
Definition at line 317 of file qgslayermetadata.h.
QString QgsLayerMetadata::Link::format |
Format specification of online resource.
It is strongly suggested to use GDAL/OGR format values.
Definition at line 327 of file qgslayermetadata.h.
QString QgsLayerMetadata::Link::mimeType |
MIME type representative of the online resource response (image/png, application/json, etc.)
Definition at line 332 of file qgslayermetadata.h.
QString QgsLayerMetadata::Link::name |
QString QgsLayerMetadata::Link::size |
Estimated size (in bytes) of the online resource response.
Definition at line 337 of file qgslayermetadata.h.
QString QgsLayerMetadata::Link::type |
Link type.
It is strongly suggested to use values from the 'identifier' column in https://github.com/OSGeo/Cat-Interop/blob/master/LinkPropertyLookupTable.csv
Definition at line 312 of file qgslayermetadata.h.
QString QgsLayerMetadata::Link::url |
Link url.
If the URL is an OWS server, specify the base URL only without parameters like service=xxx....
Definition at line 322 of file qgslayermetadata.h.