QGIS API Documentation  3.9.0-Master (224899f119)
Public Member Functions | Public Attributes | List of all members
QgsAbstractMetadataBase::Link Struct Reference

Metadata link structure. More...

#include <qgsabstractmetadatabase.h>

Public Member Functions

 Link (const QString &name=QString(), const QString &type=QString(), const QString &url=QString())
 Constructor for Link. More...
 
bool operator== (const QgsAbstractMetadataBase::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.

Since
QGIS 3.2

Definition at line 207 of file qgsabstractmetadatabase.h.

Constructor & Destructor Documentation

◆ Link()

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

Constructor for Link.

Definition at line 213 of file qgsabstractmetadatabase.h.

Member Function Documentation

◆ operator==()

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

Definition at line 462 of file qgsabstractmetadatabase.cpp.

Member Data Documentation

◆ description

QString QgsAbstractMetadataBase::Link::description

Abstract text about link.

Definition at line 233 of file qgsabstractmetadatabase.h.

◆ format

QString QgsAbstractMetadataBase::Link::format

Format specification of online resource.

It is strongly suggested to use GDAL/OGR format values.

Definition at line 243 of file qgsabstractmetadatabase.h.

◆ mimeType

QString QgsAbstractMetadataBase::Link::mimeType

MIME type representative of the online resource response (image/png, application/json, etc.)

Definition at line 248 of file qgsabstractmetadatabase.h.

◆ name

QString QgsAbstractMetadataBase::Link::name

Short link name.

E.g. WMS layer name.

Definition at line 222 of file qgsabstractmetadatabase.h.

◆ size

QString QgsAbstractMetadataBase::Link::size

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

Definition at line 253 of file qgsabstractmetadatabase.h.

◆ type

QString QgsAbstractMetadataBase::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 228 of file qgsabstractmetadatabase.h.

◆ url

QString QgsAbstractMetadataBase::Link::url

Link url.

If the URL is an OWS server, specify the base URL only without parameters like service=xxx....

Definition at line 238 of file qgsabstractmetadatabase.h.


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