|
QGIS API Documentation 4.3.0-Master (389d690bb77)
|
Abstract base class for storing STAC objects. More...
#include <qgsstacobject.h>

Public Member Functions | |
| QgsStacObject ()=delete | |
| Default constructor is used for creating invalid objects. | |
| QgsStacObject (const QString &id, const QString &version, const QVector< QgsStacLink > &links) | |
| Constructor for valid objects. | |
| virtual | ~QgsStacObject ()=default |
| Destructor. | |
| QString | id () const |
| Id of the STAC object. | |
| QVector< QgsStacLink > | links () const |
| Returns the STAC links included in the object. | |
| QString | parentUrl () const |
| Returns the url stored in the object's "parent" link. | |
| QString | rootUrl () const |
| Returns the url stored in the object's "root" link. | |
| void | setId (const QString &id) |
| Sets the id for the STAC object. | |
| void | setLinks (const QVector< QgsStacLink > &links) |
| Sets the STAC links included in the object. | |
| void | setStacExtensions (const QStringList &stacExtensions) |
| Sets the list of stacExtensions the object implements. | |
| void | setStacVersion (const QString &stacVersion) |
| Sets the STAC version the object implements. | |
| QStringList | stacExtensions () const |
| Returns the list of extensions the STAC object implements. | |
| QString | stacVersion () const |
| Returns the STAC version the object implements. | |
| virtual QString | toHtml () const =0 |
| Returns an HTML representation of the STAC object. | |
| virtual Qgis::StacObjectType | type () const =0 |
| Returns the Type of the STAC object. | |
| QString | url () const |
| Returns the url stored in the object's "self" link. | |
Protected Attributes | |
| QString | mId |
| QVector< QgsStacLink > | mLinks |
| QStringList | mStacExtensions |
| QString | mStacVersion |
| Qgis::StacObjectType | mType = Qgis::StacObjectType::Unknown |
Abstract base class for storing STAC objects.
Definition at line 33 of file qgsstacobject.h.
|
delete |
Default constructor is used for creating invalid objects.
| QgsStacObject::QgsStacObject | ( | const QString & | id, |
| const QString & | version, | ||
| const QVector< QgsStacLink > & | links ) |
Constructor for valid objects.
Definition at line 22 of file qgsstacobject.cpp.
|
virtualdefault |
Destructor.
| QString QgsStacObject::id | ( | ) | const |
Id of the STAC object.
Definition at line 48 of file qgsstacobject.cpp.
| QVector< QgsStacLink > QgsStacObject::links | ( | ) | const |
Returns the STAC links included in the object.
Definition at line 58 of file qgsstacobject.cpp.
| QString QgsStacObject::parentUrl | ( | ) | const |
Returns the url stored in the object's "parent" link.
Definition at line 88 of file qgsstacobject.cpp.
| QString QgsStacObject::rootUrl | ( | ) | const |
Returns the url stored in the object's "root" link.
Definition at line 78 of file qgsstacobject.cpp.
| void QgsStacObject::setId | ( | const QString & | id | ) |
Sets the id for the STAC object.
Definition at line 53 of file qgsstacobject.cpp.
| void QgsStacObject::setLinks | ( | const QVector< QgsStacLink > & | links | ) |
Sets the STAC links included in the object.
Definition at line 63 of file qgsstacobject.cpp.
| void QgsStacObject::setStacExtensions | ( | const QStringList & | stacExtensions | ) |
Sets the list of stacExtensions the object implements.
Definition at line 43 of file qgsstacobject.cpp.
| void QgsStacObject::setStacVersion | ( | const QString & | stacVersion | ) |
Sets the STAC version the object implements.
Definition at line 33 of file qgsstacobject.cpp.
| QStringList QgsStacObject::stacExtensions | ( | ) | const |
Returns the list of extensions the STAC object implements.
Definition at line 38 of file qgsstacobject.cpp.
| QString QgsStacObject::stacVersion | ( | ) | const |
Returns the STAC version the object implements.
Definition at line 28 of file qgsstacobject.cpp.
|
pure virtual |
Returns an HTML representation of the STAC object.
Implemented in QgsStacCatalog, QgsStacCollection, and QgsStacItem.
|
pure virtual |
Returns the Type of the STAC object.
Implemented in QgsStacCatalog, QgsStacCollection, and QgsStacItem.
| QString QgsStacObject::url | ( | ) | const |
Returns the url stored in the object's "self" link.
Definition at line 68 of file qgsstacobject.cpp.
|
protected |
Definition at line 113 of file qgsstacobject.h.
|
protected |
Definition at line 116 of file qgsstacobject.h.
|
protected |
Definition at line 115 of file qgsstacobject.h.
|
protected |
Definition at line 114 of file qgsstacobject.h.
|
protected |
Definition at line 112 of file qgsstacobject.h.