Skip To Content ArcGIS for Developers Sign In Dashboard

FeatureSubtype Class

(Esri::ArcGISRuntime::FeatureSubtype)

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

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

Public Functions

FeatureSubtype()
FeatureSubtype(const FeatureSubtype &other)
FeatureSubtype(FeatureSubtype &&other)
~FeatureSubtype()
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

FeatureSubtype::FeatureSubtype()

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.

FeatureSubtype::~FeatureSubtype()

Destructor.

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?