QGIS API Documentation
4.3.0-Master (16eddb2670e)
Toggle main menu visibility
Loading...
Searching...
No Matches
src
core
stac
qgsstaclink.cpp
Go to the documentation of this file.
1
/***************************************************************************
2
qgsstaclink.cpp
3
---------------------
4
begin : October 2024
5
copyright : (C) 2024 by Stefanos Natsis
6
email : uclaros at gmail dot com
7
***************************************************************************
8
* *
9
* This program is free software; you can redistribute it and/or modify *
10
* it under the terms of the GNU General Public License as published by *
11
* the Free Software Foundation; either version 2 of the License, or *
12
* (at your option) any later version. *
13
* *
14
***************************************************************************/
15
16
#include "
qgsstaclink.h
"
17
18
QgsStacLink::QgsStacLink
(
const
QString &
href
,
const
QString &
relation
,
const
QString &
mediaType
,
const
QString &
title
)
19
: mHref(
href
)
20
, mRelation(
relation
)
21
, mMediaType(
mediaType
)
22
, mTitle(
title
)
23
{}
24
25
QString
QgsStacLink::href
()
const
26
{
27
return
mHref;
28
}
29
30
QString
QgsStacLink::relation
()
const
31
{
32
return
mRelation;
33
}
34
35
QString
QgsStacLink::title
()
const
36
{
37
return
mTitle;
38
}
39
40
QString
QgsStacLink::mediaType
()
const
41
{
42
return
mMediaType;
43
}
QgsStacLink::href
QString href() const
Returns the actual link in the format of an URL.
Definition
qgsstaclink.cpp:25
QgsStacLink::title
QString title() const
Returns a human readable title to be used in rendered displays of the link.
Definition
qgsstaclink.cpp:35
QgsStacLink::relation
QString relation() const
Returns the relationship between the parent document and the linked document.
Definition
qgsstaclink.cpp:30
QgsStacLink::QgsStacLink
QgsStacLink(const QString &href, const QString &relation, const QString &mediaType, const QString &title)
Constructor.
Definition
qgsstaclink.cpp:18
QgsStacLink::mediaType
QString mediaType() const
Returns the Media type of the referenced entity.
Definition
qgsstaclink.cpp:40
qgsstaclink.h
Generated on
for QGIS API Documentation by
1.17.0