FeatureSubtype Class

  • FeatureSubtype
  • class Esri::ArcGISRuntime::FeatureSubtype

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

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

    This class was introduced in Esri::ArcGISRuntime 100.3.

    Public Functions

    FeatureSubtype(Esri::ArcGISRuntime::FeatureSubtype &&other)
    FeatureSubtype(const Esri::ArcGISRuntime::FeatureSubtype &other)
    FeatureSubtype()
    Esri::ArcGISRuntime::FeatureSubtype &operator=(Esri::ArcGISRuntime::FeatureSubtype &&other)
    Esri::ArcGISRuntime::FeatureSubtype &operator=(const Esri::ArcGISRuntime::FeatureSubtype &other)
    ~FeatureSubtype()
    QVariant code() const
    QMap<QString, Esri::ArcGISRuntime::Domain> domains() const
    QList<Esri::ArcGISRuntime::Field> fieldOverrides() const
    bool isEmpty() const
    QString name() const
    QVariantMap prototypeAttributes() const

    Detailed Description

    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(Esri::ArcGISRuntime::FeatureSubtype &&other)

    Move constructor from other FeatureSubtype.

    FeatureSubtype::FeatureSubtype(const Esri::ArcGISRuntime::FeatureSubtype &other)

    Copy constructor from other FeatureSubtype.

    FeatureSubtype::FeatureSubtype()

    Default constructor. Creates an empty FeatureSubtype.

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

    Move operator from other FeatureSubtype.

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

    Assignment operator from other FeatureSubtype.

    FeatureSubtype::~FeatureSubtype()

    Destructor.

    QVariant FeatureSubtype::code() const

    Returns the feature subtype's code.

    QMap<QString, Esri::ArcGISRuntime::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.

    QList<Esri::ArcGISRuntime::Field> FeatureSubtype::fieldOverrides() const

    Returns the fields defined for this feature subtype.

    A subset of FeatureTable::fields relevant to this feature subtype. This collection of Field may override properties defined in the FeatureTable::fields. For example, Field::alias and Field::domain.

    This function was introduced in Esri::ArcGISRuntime 100.9.

    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.

    Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.