FeatureType Class

  • FeatureType
  • class Esri::ArcGISRuntime::FeatureType

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

    Header: #include <FeatureType.h>
    Since: Esri::ArcGISRuntime 100.0

    This class was introduced in Esri::ArcGISRuntime 100.0.

    Public Functions

    FeatureType(Esri::ArcGISRuntime::FeatureType &&other)
    FeatureType(const Esri::ArcGISRuntime::FeatureType &other)
    FeatureType()
    Esri::ArcGISRuntime::FeatureType &operator=(Esri::ArcGISRuntime::FeatureType &&other)
    Esri::ArcGISRuntime::FeatureType &operator=(const Esri::ArcGISRuntime::FeatureType &other)
    ~FeatureType()
    QMap<QString, Esri::ArcGISRuntime::Domain> domains() const
    bool isEmpty() const
    QString name() const
    QList<Esri::ArcGISRuntime::FeatureTemplate> templates() const
    QVariant typeId() const

    Detailed Description

    A feature type describes the various types of features that can belong to a feature layer.

    Member Function Documentation

    FeatureType::FeatureType(Esri::ArcGISRuntime::FeatureType &&other)

    Move constructor from other FeatureType.

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

    Copy constructor from other FeatureType.

    FeatureType::FeatureType()

    Default constructor. Creates an empty FeatureType.

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

    Move operator from other FeatureType.

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

    Assignment operator from other FeatureType.

    FeatureType::~FeatureType()

    Destructor.

    QMap<QString, Esri::ArcGISRuntime::Domain> FeatureType::domains() const

    Returns the domains describing permissible attribute values for features of this type.

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

    bool FeatureType::isEmpty() const

    Returns true if this FeatureType is empty.

    QString FeatureType::name() const

    Returns the name of this type.

    QList<Esri::ArcGISRuntime::FeatureTemplate> FeatureType::templates() const

    Returns templates that can be used for creating new features of this type.

    QVariant FeatureType::typeId() const

    Returns the ID of this type.

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

    You can no longer sign into this site. Go to your ArcGIS portal or the ArcGIS Location Platform dashboard to perform management tasks.

    Your ArcGIS portal

    Create, manage, and access API keys and OAuth 2.0 developer credentials, hosted layers, and data services.

    Your ArcGIS Location Platform dashboard

    Manage billing, monitor service usage, and access additional resources.

    Learn more about these changes in the What's new in Esri Developers June 2024 blog post.

    Close