A KML multi-geometry containing multiple KmlGeometry objects. More...
| Header | #include <Kml |
| Since | Esri |
| Inherits | Esri |
Public Functions
| Kml | |
| Kml | |
| Kml | |
| Kml | |
| Kml | |
| ~ | |
| Esri | clone() const |
| bool | is |
| Esri | kml |
| Esri | operator=( |
| Esri | operator=(const Esri |
Detailed Description
Member Function Documentation
KmlMultiGeometry::KmlMultiGeometry ()
Default constructor.
Note: This is provided for convenience only and will construct an unusable, empty object.
[explicit] KmlMultiGeometry::KmlMultiGeometry (const Esri::ArcGISRuntime::KmlGeometry &other)
Converting constructor from other KmlGeometry.
Note: Performs a shallow copy.
See also Downcast helper functions.
[explicit] KmlMultiGeometry::KmlMultiGeometry (const QList<Esri::ArcGISRuntime::KmlGeometry > &kmlGeometries )
Creates a KmlMultiGeometry.
- kmlGeometries - The geometries that make up this multi-geometry.
KmlMultiGeometry::KmlMultiGeometry (const Esri::ArcGISRuntime::KmlMultiGeometry &other)
Copy constructor from other KmlMultiGeometry.
Note: Performs a shallow copy. The kmlGeometries list will be shared with the previous copy. Call clone for a deep copy.
[noexcept] KmlMultiGeometry::KmlMultiGeometry (Esri::ArcGISRuntime::KmlMultiGeometry &&other)
Move constructor from other KmlMultiGeometry.
[noexcept] KmlMultiGeometry::~KmlMultiGeometry ()
Destructor.
Esri::ArcGISRuntime::KmlMultiGeometry KmlMultiGeometry::clone() const
Returns a deep copy of this KmlMultiGeometry.
The returned copy will be invalid if this KmlMultiGeometry is invalid.
This is the only way to ensure a detached list in the kmlGeometries collection from previous copies.
See also isValid.
bool KmlMultiGeometry::isValid () const
Gets whether this KmlMultiGeometry is valid.
A KmlMultiGeometry is valid if it is not empty and objectType is KmlGeometryObjectType::MultiGeometry.
Returns true if valid.
Esri::ArcGISRuntime::KmlGeometryListModel *KmlMultiGeometry::kmlGeometries (QObject *parent) const
Returns the KML geometries for the KML multi-geometry.
A collection of KmlGeometry.
Note: a parent is required. Since KmlMultiGeometry is a value object and not a QObject, the returned object cannot be a child of this object. If you wish to have no parent, pass nullptr. The parent will only be applied if the returned object didn't already exist (existing parent will be preserved).
[noexcept] Esri::ArcGISRuntime::KmlMultiGeometry &KmlMultiGeometry::operator=(Esri::ArcGISRuntime::KmlMultiGeometry &&other)
Move operator from other KmlMultiGeometry.
Esri::ArcGISRuntime::KmlMultiGeometry &KmlMultiGeometry::operator=(const Esri::ArcGISRuntime::KmlMultiGeometry &other)
Assignment operator from other KmlMultiGeometry.
Note: Performs a shallow copy. The kmlGeometries list will be shared with the previous copy. Call clone for a deep copy.