QGIS API Documentation 4.3.0-Master (389d690bb77)
Loading...
Searching...
No Matches
qgsstacprovider.h
Go to the documentation of this file.
1/***************************************************************************
2 qgsstacprovider.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 QGSSTACPROVIDER_H
17#define QGSSTACPROVIDER_H
18
19#include "qgis.h"
20
21#include <QString>
22#include <QStringList>
23
34class CORE_EXPORT QgsStacProvider
35{
36 public:
46 QgsStacProvider( const QString &name, const QString &description, const QStringList &roles, const QString &url );
47
49 QString name() const;
50
56 QString description() const;
57
59 QStringList roles() const;
60
62 QString url() const;
63
64 private:
65 QString mName;
66 QString mDescription;
67 QStringList mRoles;
68 QString mUrl;
69};
70
71#endif // QGSSTACPROVIDER_H
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.