|
QGIS API Documentation 4.3.0-Master (389d690bb77)
|
Stores a list of STAC Collections, which is typically used to store the data returned by STAC API /collections endpoint. More...
#include <qgsstaccollectionlist.h>
Public Member Functions | |
| QgsStacCollectionList ()=delete | |
| Default constructor deleted, use the variant with required parameters. | |
| QgsStacCollectionList (const QVector< QgsStacCollection * > collections, const QVector< QgsStacLink > links, int numberMatched=-1) | |
| Constructs a valid list of collections,. | |
| ~QgsStacCollectionList () | |
| Destructor. | |
| QVector< QgsStacCollection * > | collections () const |
| Returns the collections Ownership is not transferred. | |
| QUrl | nextUrl () const |
| Returns the url of the collections' "next" link. | |
| int | numberMatched () const |
| Returns the total number of available collections If this information was not available by the STAC server, -1 is returned. | |
| int | numberReturned () const |
| Returns the number of returned collections. | |
| QUrl | prevUrl () const |
| Returns the url of the collections' "prev" link. | |
| QUrl | rootUrl () const |
| Returns the url of the collections' "root" link. | |
| QVector< QgsStacCollection * > | takeCollections () |
| Returns the collections Caller takes ownership of the returned collections. | |
| QUrl | url () const |
| Returns the url of the collections' "self" link. | |
Stores a list of STAC Collections, which is typically used to store the data returned by STAC API /collections endpoint.
Definition at line 33 of file qgsstaccollectionlist.h.
|
delete |
Default constructor deleted, use the variant with required parameters.
| QgsStacCollectionList::QgsStacCollectionList | ( | const QVector< QgsStacCollection * > | collections, |
| const QVector< QgsStacLink > | links, | ||
| int | numberMatched = -1 ) |
Constructs a valid list of collections,.
| collections | The STAC Collections to be stored, ownership is transferred |
| links | A list of references to other documents. |
| numberMatched | The total number of collections in the parent catalog, collection or total matching results from a STAC API endpoint |
Definition at line 24 of file qgsstaccollectionlist.cpp.
| QgsStacCollectionList::~QgsStacCollectionList | ( | ) |
Destructor.
Definition at line 36 of file qgsstaccollectionlist.cpp.
| QVector< QgsStacCollection * > QgsStacCollectionList::collections | ( | ) | const |
Returns the collections Ownership is not transferred.
Definition at line 41 of file qgsstaccollectionlist.cpp.
| QUrl QgsStacCollectionList::nextUrl | ( | ) | const |
Returns the url of the collections' "next" link.
Definition at line 73 of file qgsstaccollectionlist.cpp.
| int QgsStacCollectionList::numberMatched | ( | ) | const |
Returns the total number of available collections If this information was not available by the STAC server, -1 is returned.
Definition at line 58 of file qgsstaccollectionlist.cpp.
| int QgsStacCollectionList::numberReturned | ( | ) | const |
Returns the number of returned collections.
Definition at line 53 of file qgsstaccollectionlist.cpp.
| QUrl QgsStacCollectionList::prevUrl | ( | ) | const |
Returns the url of the collections' "prev" link.
Definition at line 78 of file qgsstaccollectionlist.cpp.
| QUrl QgsStacCollectionList::rootUrl | ( | ) | const |
Returns the url of the collections' "root" link.
Definition at line 68 of file qgsstaccollectionlist.cpp.
| QVector< QgsStacCollection * > QgsStacCollectionList::takeCollections | ( | ) |
Returns the collections Caller takes ownership of the returned collections.
Definition at line 46 of file qgsstaccollectionlist.cpp.
| QUrl QgsStacCollectionList::url | ( | ) | const |
Returns the url of the collections' "self" link.
Definition at line 63 of file qgsstaccollectionlist.cpp.