Skip To Content ArcGIS for Developers Sign In Dashboard

FeatureSubtype Class


Encapsulates properties of subtypes of features in a feature layer. More...

Header: #include <FeatureSubtype>
Since: Esri::ArcGISRuntime 100.3

Public Functions

FeatureSubtype(const FeatureSubtype &other)
FeatureSubtype(FeatureSubtype &&other)
QVariant code() const
QMap<QString, Domain> domains() const
bool isEmpty() const
QString name() const
QVariantMap prototypeAttributes() const
FeatureSubtype &operator=(const FeatureSubtype &other)
FeatureSubtype &operator=(FeatureSubtype &&other)

Detailed Description

Encapsulates properties of subtypes of features in a feature layer.

Subtypes are a subset of features in a feature layer, or objects in a table, that share the same attributes. Subtypes are used to categorize features.

Member Function Documentation


Default constructor. Creates an empty FeatureSubtype.

FeatureSubtype::FeatureSubtype(const FeatureSubtype &other)

Copy constructor from other FeatureSubtype.

FeatureSubtype::FeatureSubtype(FeatureSubtype &&other)

Move constructor from other FeatureSubtype.



QVariant FeatureSubtype::code() const

Returns the feature subtype's code.

QMap<QString, Domain> FeatureSubtype::domains() const

Returns the domains associated with this feature subtype.

The map contains key-value pairs of field name and a corresponding Domain object for this type.

bool FeatureSubtype::isEmpty() const

Returns true if this FeatureSubtype is empty.

QString FeatureSubtype::name() const

Returns the name of the feature subtype.

QVariantMap FeatureSubtype::prototypeAttributes() const

Returns the prototype attributes for creating a Feature with this subtype.

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

Assignment operator from other FeatureSubtype.

FeatureSubtype &FeatureSubtype::operator=(FeatureSubtype &&other)

Move operator from other FeatureSubtype.

Feedback on this topic?