A KML multi-geometry containing multiple KmlGeometry objects. More...
Header: | #include <KmlMultiGeometry.h> |
Since: | Esri::ArcGISRuntime 200.6 |
Inherits: | Esri::ArcGISRuntime::KmlGeometry |
Public Functions
KmlMultiGeometry() | |
KmlMultiGeometry(const QList<Esri::ArcGISRuntime::KmlGeometry> &kmlGeometries) | |
KmlMultiGeometry(const Esri::ArcGISRuntime::KmlMultiGeometry &other) | |
KmlMultiGeometry(Esri::ArcGISRuntime::KmlMultiGeometry &&other) | |
KmlMultiGeometry(const Esri::ArcGISRuntime::KmlGeometry &other) | |
~KmlMultiGeometry() | |
Esri::ArcGISRuntime::KmlMultiGeometry | clone() const |
bool | isValid() const |
Esri::ArcGISRuntime::KmlGeometryListModel * | kmlGeometries(QObject *parent) const |
Esri::ArcGISRuntime::KmlMultiGeometry & | operator=(const Esri::ArcGISRuntime::KmlMultiGeometry &other) |
Esri::ArcGISRuntime::KmlMultiGeometry & | operator=(Esri::ArcGISRuntime::KmlMultiGeometry &&other) |
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 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.
KmlMultiGeometry::KmlMultiGeometry (Esri::ArcGISRuntime::KmlMultiGeometry &&other)
Move constructor from other KmlMultiGeometry.
[explicit]
KmlMultiGeometry::KmlMultiGeometry (const Esri::ArcGISRuntime::KmlGeometry &other)
Converting constructor from other KmlGeometry.
Note: Performs a shallow copy.
See also Downcast helper functions.
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).
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.
Esri::ArcGISRuntime::KmlMultiGeometry &KmlMultiGeometry::operator=(Esri::ArcGISRuntime::KmlMultiGeometry &&other)
Move operator from other KmlMultiGeometry.