• FeatureTemplateRelationship
  • class Esri::ArcGISRuntime::FeatureTemplateRelationship

    Defines a relationship between the primary feature in a shared feature template and non-spatial related features. More...

    Header: #include <FeatureTemplateRelationship.h>
    Since: Esri::ArcGISRuntime 300.0
    Inherits: Esri::ArcGISRuntime::Object

    Public Functions

    virtual ~FeatureTemplateRelationship() override
    Esri::ArcGISRuntime::SharedTemplate *featureTemplate() const
    qint64 numberOfRelatedFeatures() const

    Detailed Description

    One or more related features can be created with the same template. The related features created from this template have a pre-defined set of attributes as specified in the featureTemplate.

    Member Function Documentation

    [override virtual noexcept] FeatureTemplateRelationship::~FeatureTemplateRelationship()

    Destructor.

    Esri::ArcGISRuntime::SharedTemplate *FeatureTemplateRelationship::featureTemplate() const

    Returns the template used for creating the related feature.

    This template can only be a feature template.

    qint64 FeatureTemplateRelationship::numberOfRelatedFeatures() const

    Returns number of related features to create with this feature template.