|
QGIS API Documentation 4.3.0-Master (389d690bb77)
|
Stores data associated with a STAC Item Collection. More...
#include <qgsstacitemcollection.h>
Public Member Functions | |
| QgsStacItemCollection ()=delete | |
| Default constructor deleted, use the variant with required parameters. | |
| QgsStacItemCollection (const QVector< QgsStacItem * > &items, const QVector< QgsStacLink > &links, int numberMatched=-1) | |
| Constructs a valid item collection. | |
| ~QgsStacItemCollection () | |
| Destructor. | |
| QUrl | collectionUrl () const |
| Returns the url of the item collection's "collection" link. | |
| QVector< QgsStacItem * > | items () const |
| Returns the items in the collection Ownership is not transferred. | |
| QUrl | nextUrl () const |
| Returns the url of the item collection's "next" link. | |
| int | numberMatched () const |
| Returns the total number of items in the parent collection If this information was not available by the STAC server, -1 is returned. | |
| int | numberReturned () const |
| Returns the number of items in the collection. | |
| QUrl | parentUrl () const |
| Returns the url of the item collection's "parent" link. | |
| QUrl | rootUrl () const |
| Returns the url of the item collection's "root" link. | |
| QVector< QgsStacItem * > | takeItems () |
| Returns the items in the collection Caller takes ownership of the returned items. | |
| QUrl | url () const |
| Returns the url of the item collection's "self" link. | |
Stores data associated with a STAC Item Collection.
An Item Collection is typically returned by STAP API endpoints and contains a subset of the STAC Items available in a STAC Catalog or Collection.
Definition at line 36 of file qgsstacitemcollection.h.
|
delete |
Default constructor deleted, use the variant with required parameters.
| QgsStacItemCollection::QgsStacItemCollection | ( | const QVector< QgsStacItem * > & | items, |
| const QVector< QgsStacLink > & | links, | ||
| int | numberMatched = -1 ) |
Constructs a valid item collection.
| items | The STAC Items in the item collection, ownership is transferred |
| links | A list of references to other documents. |
| numberMatched | The total number of items in the parent catalog, collection or total matching results from a STAC API endpoint |
Definition at line 24 of file qgsstacitemcollection.cpp.
| QgsStacItemCollection::~QgsStacItemCollection | ( | ) |
Destructor.
Definition at line 36 of file qgsstacitemcollection.cpp.
| QUrl QgsStacItemCollection::collectionUrl | ( | ) | const |
Returns the url of the item collection's "collection" link.
Definition at line 68 of file qgsstacitemcollection.cpp.
| QVector< QgsStacItem * > QgsStacItemCollection::items | ( | ) | const |
Returns the items in the collection Ownership is not transferred.
Definition at line 41 of file qgsstacitemcollection.cpp.
| QUrl QgsStacItemCollection::nextUrl | ( | ) | const |
Returns the url of the item collection's "next" link.
Definition at line 73 of file qgsstacitemcollection.cpp.
| int QgsStacItemCollection::numberMatched | ( | ) | const |
Returns the total number of items in the parent collection If this information was not available by the STAC server, -1 is returned.
Definition at line 83 of file qgsstacitemcollection.cpp.
| int QgsStacItemCollection::numberReturned | ( | ) | const |
Returns the number of items in the collection.
Definition at line 78 of file qgsstacitemcollection.cpp.
| QUrl QgsStacItemCollection::parentUrl | ( | ) | const |
Returns the url of the item collection's "parent" link.
Definition at line 63 of file qgsstacitemcollection.cpp.
| QUrl QgsStacItemCollection::rootUrl | ( | ) | const |
Returns the url of the item collection's "root" link.
Definition at line 58 of file qgsstacitemcollection.cpp.
| QVector< QgsStacItem * > QgsStacItemCollection::takeItems | ( | ) |
Returns the items in the collection Caller takes ownership of the returned items.
Definition at line 46 of file qgsstacitemcollection.cpp.
| QUrl QgsStacItemCollection::url | ( | ) | const |
Returns the url of the item collection's "self" link.
Definition at line 53 of file qgsstacitemcollection.cpp.