QGIS API Documentation
4.3.0-Master (16eddb2670e)
Toggle main menu visibility
Loading...
Searching...
No Matches
src
core
stac
qgsstaclink.h
Go to the documentation of this file.
1
/***************************************************************************
2
qgsstaclink.h
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
#ifndef QGSSTACLINK_H
17
#define QGSSTACLINK_H
18
19
#include "
qgis.h
"
20
#include "qgis_core.h"
21
22
#include <QString>
23
30
class
CORE_EXPORT
QgsStacLink
31
{
32
public
:
40
QgsStacLink
(
const
QString &
href
,
const
QString &
relation
,
const
QString &
mediaType
,
const
QString &
title
);
41
43
QString
href
()
const
;
44
46
QString
relation
()
const
;
47
49
QString
mediaType
()
const
;
50
52
QString
title
()
const
;
53
54
private
:
55
QString mHref;
56
QString mRelation;
57
QString mMediaType;
58
QString mTitle;
59
};
60
61
#endif
// QGSSTACLINK_H
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
qgis.h
Generated on
for QGIS API Documentation by
1.17.0