QGIS API Documentation  3.0.2-Girona (307d082)
Public Member Functions | Public Attributes | List of all members
QgsLayerMetadata::Link Struct Reference

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...
 

Detailed Description

Metadata link structure.

Definition at line 291 of file qgslayermetadata.h.

Constructor & Destructor Documentation

◆ Link()

QgsLayerMetadata::Link::Link ( const QString &  name = QString(),
const QString &  type = QString(),
const QString &  url = QString() 
)
inline

Constructor for Link.

Definition at line 297 of file qgslayermetadata.h.

Member Function Documentation

◆ operator==()

bool QgsLayerMetadata::Link::operator== ( const QgsLayerMetadata::Link other) const

Definition at line 820 of file qgslayermetadata.cpp.

Member Data Documentation

◆ description

QString QgsLayerMetadata::Link::description

Abstract text about link.

Definition at line 317 of file qgslayermetadata.h.

◆ format

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.

◆ mimeType

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.

◆ name

QString QgsLayerMetadata::Link::name

Short link name.

E.g. WMS layer name.

Definition at line 306 of file qgslayermetadata.h.

◆ size

QString QgsLayerMetadata::Link::size

Estimated size (in bytes) of the online resource response.

Definition at line 337 of file qgslayermetadata.h.

◆ type

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.

◆ url

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.


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