The capabilities of an ArcGIS feature service. More...
Header: | #include <FeatureServiceCapabilities.h> |
Since: | Esri::ArcGISRuntime 100.0 |
Public Functions
FeatureServiceCapabilities() | |
FeatureServiceCapabilities(const Esri::ArcGISRuntime::FeatureServiceCapabilities &other) | |
FeatureServiceCapabilities(Esri::ArcGISRuntime::FeatureServiceCapabilities &&other) | |
~FeatureServiceCapabilities() | |
bool | isEmpty() const |
bool | isSupportsCreate() const |
bool | isSupportsDelete() const |
bool | isSupportsEditing() const |
bool | isSupportsQuery() const |
bool | isSupportsSync() const |
bool | isSupportsUpdate() const |
Esri::ArcGISRuntime::FeatureServiceCapabilities & | operator=(const Esri::ArcGISRuntime::FeatureServiceCapabilities &other) |
Esri::ArcGISRuntime::FeatureServiceCapabilities & | operator=(Esri::ArcGISRuntime::FeatureServiceCapabilities &&other) |
Detailed Description
ArcGIS feature service capabilities, such as Query, Create, Update, and Sync, are stated within the "Capabilities" tag of its ArcGIS REST Services Directory. Each of its capabilities are reflected in isSupportsCreate, isSupportsDelete, isSupportsEditing, and so on.
You can obtain an ArcGIS feature service's FeatureServiceCapabilities from its metadata using the ArcGISFeatureLayerInfo. This is available from two sources:
- a loaded ServiceFeatureTable.
- a loaded GeodatabaseFeatureTable that is downloaded from a feature service using either the GeodatabaseSyncTask or the OfflineMapTask.
Member Function Documentation
FeatureServiceCapabilities::FeatureServiceCapabilities ()
Default constructor. Creates an empty FeatureServiceCapabilities.
FeatureServiceCapabilities::FeatureServiceCapabilities (const Esri::ArcGISRuntime::FeatureServiceCapabilities &other)
Copy constructor from other FeatureServiceCapabilities.
FeatureServiceCapabilities::FeatureServiceCapabilities (Esri::ArcGISRuntime::FeatureServiceCapabilities &&other)
Move constructor from other FeatureServiceCapabilities.
FeatureServiceCapabilities::~FeatureServiceCapabilities ()
Destructor.
bool FeatureServiceCapabilities::isEmpty () const
Returns true
if this FeatureServiceCapabilities is empty.
bool FeatureServiceCapabilities::isSupportsCreate () const
Returns true
if the service allows new features to be created, false
otherwise.
bool FeatureServiceCapabilities::isSupportsDelete () const
Returns true
if the service allows features to be deleted, false
otherwise.
bool FeatureServiceCapabilities::isSupportsEditing () const
Returns true
if the service allows features to be edited, false
otherwise.
bool FeatureServiceCapabilities::isSupportsQuery () const
Returns true
if the service allows features to be queried, false
otherwise.
bool FeatureServiceCapabilities::isSupportsSync () const
Returns true
if the service allows features to be synchronized, false
otherwise.
bool FeatureServiceCapabilities::isSupportsUpdate () const
Returns true
if the service allows features to be updated, false
otherwise.
Esri::ArcGISRuntime::FeatureServiceCapabilities &FeatureServiceCapabilities::operator=(const Esri::ArcGISRuntime::FeatureServiceCapabilities &other)
Assignment operator from other FeatureServiceCapabilities.
Esri::ArcGISRuntime::FeatureServiceCapabilities &FeatureServiceCapabilities::operator=(Esri::ArcGISRuntime::FeatureServiceCapabilities &&other)
Move operator from other FeatureServiceCapabilities.