A mutable collection of parts for creating a Multipart geometry from a MultipartBuilder. More...
Member Function Documentation[explicit]
PartCollection::PartCollection(const Esri::ArcGISRuntime::SpatialReference &spatialReference, QObject *parent = nullptr)
Constructor that takes a SpatialReference spatialReference and an optional parent.
[override virtual noexcept]
PartCollection::~PartCollection()
Destructor.
int PartCollection::addPart(Esri::ArcGISRuntime::Part *part)Adds a new Part part to the collection.
Returns -1
on error.
[since Esri::ArcGISRuntime 100.1]
void PartCollection::addParts(const QList<Esri::ArcGISRuntime::Part *> &parts)
Adds new Parts parts to the collection.
This function was introduced in Esri::ArcGISRuntime 100.1.
int PartCollection::indexOf(Esri::ArcGISRuntime::Part *part) constGets the index of a part in the collection.
Returns -1
if the part is not found.
Inserts part at index.
bool PartCollection::isEmpty() constGets whether this PartCollection is empty.
Returns true
if this PartCollection contains no parts.
Gets the part at index.
Returns an empty Part on error.
See also setPart().
void PartCollection::removeAll()Removes all the parts from this PartCollection.
void PartCollection::removePart(int index)Removes the part at index.
void PartCollection::setPart(int index, Esri::ArcGISRuntime::Part *part)Reassigns the part at index to part.
See also part().
[override virtual]
int PartCollection::size() const
Gets the number of parts in this PartCollection.
Returns the number of parts.
Esri::ArcGISRuntime::SpatialReference PartCollection::spatialReference() constGets the spatial reference.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4