QGIS API Documentation 4.3.0-Master (389d690bb77)
Loading...
Searching...
No Matches
qgsstacprovider.cpp
Go to the documentation of this file.
1/***************************************************************************
2 qgsstacprovider.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 "qgsstacprovider.h"
17
18QgsStacProvider::QgsStacProvider( const QString &name, const QString &description, const QStringList &roles, const QString &url )
19 : mName( name )
20 , mDescription( description )
21 , mRoles( roles )
22 , mUrl( url )
23{}
24
25QString QgsStacProvider::name() const
26{
27 return mName;
28}
29
31{
32 return mDescription;
33}
34
35QStringList QgsStacProvider::roles() const
36{
37 return mRoles;
38}
39
40QString QgsStacProvider::url() const
41{
42 return mUrl;
43}
QString description() const
Returns a multi-line description to add further provider information such as processing details for p...
QgsStacProvider(const QString &name, const QString &description, const QStringList &roles, const QString &url)
QgsStacProvider constructor.
QString url() const
Returns the url of a homepage on which the provider describes the dataset and publishes contact infor...
QString name() const
Returns the name of the organization or the individual.
QStringList roles() const
Returns the roles of the provider. Any of licensor, producer, processor or host.