QGIS API Documentation 3.38.0-Grenoble (exported)
Loading...
Searching...
No Matches
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.
 
bool operator== (const QgsAbstractMetadataBase::Link &other) const
 

Public Attributes

QString description
 Abstract text about link.
 
QString format
 Format specification of online resource.
 
QString mimeType
 MIME type representative of the online resource response (image/png, application/json, etc.)
 
QString name
 Short link name.
 
QString size
 Estimated size (in bytes) of the online resource response.
 
QString type
 Link type.
 
QString url
 Link url.
 

Detailed Description

Metadata link structure.

Since
QGIS 3.2

Definition at line 210 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 216 of file qgsabstractmetadatabase.h.

Member Function Documentation

◆ operator==()

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

Definition at line 559 of file qgsabstractmetadatabase.cpp.

Member Data Documentation

◆ description

QString QgsAbstractMetadataBase::Link::description

Abstract text about link.

Definition at line 236 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 246 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 251 of file qgsabstractmetadatabase.h.

◆ name

QString QgsAbstractMetadataBase::Link::name

Short link name.

E.g. WMS layer name.

Definition at line 225 of file qgsabstractmetadatabase.h.

◆ size

QString QgsAbstractMetadataBase::Link::size

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

Definition at line 256 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 231 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 241 of file qgsabstractmetadatabase.h.


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