Skip To Content ArcGIS for Developers Sign In Dashboard

OfflineMapCapabilities Class

(Esri::ArcGISRuntime::OfflineMapCapabilities)

The capability of taking a map's layers and tables offline. More...

Header: #include <OfflineMapCapabilities>
Since: Esri::ArcGISRuntime 100.1

Public Functions

OfflineMapCapabilities(const OfflineMapCapabilities &other)
OfflineMapCapabilities(OfflineMapCapabilities &&other)
~OfflineMapCapabilities()
bool hasErrors() const
bool isEmpty() const
QMap<Layer *, OfflineCapability> layerCapabilities(QObject *parent = nullptr) const
QMap<FeatureTable *, OfflineCapability> tableCapabilities(QObject *parent = nullptr) const
OfflineMapCapabilities &operator=(const OfflineMapCapabilities &other)
OfflineMapCapabilities &operator=(OfflineMapCapabilities &&other)

Detailed Description

The capability of taking a map's layers and tables offline.

Member Function Documentation

OfflineMapCapabilities::OfflineMapCapabilities(const OfflineMapCapabilities &other)

Copy constructor from other OfflineMapCapabilities.

OfflineMapCapabilities::OfflineMapCapabilities(OfflineMapCapabilities &&other)

Move constructor from other OfflineMapCapabilities.

OfflineMapCapabilities::~OfflineMapCapabilities()

Destructor.

bool OfflineMapCapabilities::hasErrors() const

Returns whether there is at least one layer or table that cannot be taken offline.

bool OfflineMapCapabilities::isEmpty() const

Returns whether this object is empty.

QMap<Layer *, OfflineCapability> OfflineMapCapabilities::layerCapabilities(QObject *parent = nullptr) const

Returns layer capabilities for all the layers in the map.

  • parent - A parent object that will manage the lifetime of the objects returned from this method.

QMap<FeatureTable *, OfflineCapability> OfflineMapCapabilities::tableCapabilities(QObject *parent = nullptr) const

Returns layer capabilities for all the feature tables in the map.

  • parent - A parent object that will manage the lifetime of the objects returned from this method.

OfflineMapCapabilities &OfflineMapCapabilities::operator=(const OfflineMapCapabilities &other)

Assignment operator from other OfflineMapCapabilities.

OfflineMapCapabilities &OfflineMapCapabilities::operator=(OfflineMapCapabilities &&other)

Move operator from other OfflineMapCapabilities.


Feedback on this topic?