|
QGIS API Documentation 4.3.0-Master (389d690bb77)
|
Stores data associated with a STAC Catalog. More...
#include <qgsstaccatalog.h>

Public Member Functions | |
| QgsStacCatalog ()=delete | |
| Default constructor deleted, use the variant with required parameters. | |
| QgsStacCatalog (const QString &id, const QString &version, const QString &description, const QVector< QgsStacLink > &links) | |
| Constructs a valid QgsStacCatalog. | |
| void | addConformanceClass (const QString &conformanceClass) |
| Adds conformanceClass to the list of catalog's conformance classes. | |
| bool | conformsTo (const QString &conformanceClass) const |
| Checks if the catalog is a STAC API conforming to the specified conformanceClass. | |
| QString | description () const |
| Returns a Detailed multi-line description to fully explain the Catalog. | |
| void | setConformanceClasses (const QStringList &conformanceClasses) |
| Sets the list of conformanceClasses this catalog conforms to. | |
| void | setDescription (const QString &description) |
| Sets a detailed multi-line description to fully explain the Catalog. | |
| void | setTitle (const QString &title) |
| Sets a short descriptive one-line title for the Catalog. | |
| QString | title () const |
| Returns a short descriptive one-line title for the Catalog. | |
| QString | toHtml () const override |
| Returns an HTML representation of the STAC object. | |
| Qgis::StacObjectType | type () const override |
| Returns the Type of the STAC object. | |
| Public Member Functions inherited from QgsStacObject | |
| 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. | |
| QString | url () const |
| Returns the url stored in the object's "self" link. | |
Protected Attributes | |
| QSet< QString > | mConformanceClasses |
| QString | mDescription |
| QString | mTitle |
| Protected Attributes inherited from QgsStacObject | |
| QString | mId |
| QVector< QgsStacLink > | mLinks |
| QStringList | mStacExtensions |
| QString | mStacVersion |
| Qgis::StacObjectType | mType = Qgis::StacObjectType::Unknown |
Stores data associated with a STAC Catalog.
Definition at line 32 of file qgsstaccatalog.h.
|
delete |
Default constructor deleted, use the variant with required parameters.
| QgsStacCatalog::QgsStacCatalog | ( | const QString & | id, |
| const QString & | version, | ||
| const QString & | description, | ||
| const QVector< QgsStacLink > & | links ) |
Constructs a valid QgsStacCatalog.
| id | A unique identifier for the catalog |
| version | The STAC version the Catalog implements. |
| description | Detailed multi-line description to fully explain the Catalog. CommonMark 0.29 syntax may be used for rich text representation. |
| links | A list of references to other documents. |
Definition at line 22 of file qgsstaccatalog.cpp.
| void QgsStacCatalog::addConformanceClass | ( | const QString & | conformanceClass | ) |
Adds conformanceClass to the list of catalog's conformance classes.
Definition at line 111 of file qgsstaccatalog.cpp.
| bool QgsStacCatalog::conformsTo | ( | const QString & | conformanceClass | ) | const |
Checks if the catalog is a STAC API conforming to the specified conformanceClass.
Definition at line 101 of file qgsstaccatalog.cpp.
| QString QgsStacCatalog::description | ( | ) | const |
Returns a Detailed multi-line description to fully explain the Catalog.
CommonMark 0.29 syntax may be used for rich text representation.
Definition at line 91 of file qgsstaccatalog.cpp.
| void QgsStacCatalog::setConformanceClasses | ( | const QStringList & | conformanceClasses | ) |
Sets the list of conformanceClasses this catalog conforms to.
Definition at line 106 of file qgsstaccatalog.cpp.
| void QgsStacCatalog::setDescription | ( | const QString & | description | ) |
Sets a detailed multi-line description to fully explain the Catalog.
CommonMark 0.29 syntax may be used for rich text representation.
Definition at line 96 of file qgsstaccatalog.cpp.
| void QgsStacCatalog::setTitle | ( | const QString & | title | ) |
Sets a short descriptive one-line title for the Catalog.
Definition at line 86 of file qgsstaccatalog.cpp.
| QString QgsStacCatalog::title | ( | ) | const |
Returns a short descriptive one-line title for the Catalog.
Definition at line 81 of file qgsstaccatalog.cpp.
|
overridevirtual |
Returns an HTML representation of the STAC object.
Implements QgsStacObject.
Reimplemented in QgsStacCollection.
Definition at line 32 of file qgsstaccatalog.cpp.
|
overridevirtual |
Returns the Type of the STAC object.
Implements QgsStacObject.
Reimplemented in QgsStacCollection.
Definition at line 27 of file qgsstaccatalog.cpp.
|
protected |
Definition at line 80 of file qgsstaccatalog.h.
|
protected |
Definition at line 79 of file qgsstaccatalog.h.
|
protected |
Definition at line 78 of file qgsstaccatalog.h.