RestrictionAttribute Class

  • RestrictionAttribute
  • class Esri::ArcGISRuntime::RestrictionAttribute

    An attribute to be used as a restriction in the analysis. More...

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

    This class was introduced in Esri::ArcGISRuntime 100.0.

    Public Functions

    RestrictionAttribute(Esri::ArcGISRuntime::RestrictionAttribute &&other)
    RestrictionAttribute(const Esri::ArcGISRuntime::RestrictionAttribute &other)
    RestrictionAttribute()
    Esri::ArcGISRuntime::RestrictionAttribute &operator=(Esri::ArcGISRuntime::RestrictionAttribute &&other)
    Esri::ArcGISRuntime::RestrictionAttribute &operator=(const Esri::ArcGISRuntime::RestrictionAttribute &other)
    ~RestrictionAttribute()
    bool isEmpty() const
    QVariantMap parameterValues() const
    QString restrictionUsageParameterName() const

    Detailed Description

    Use this to specify which restrictions should be honored by the analysis when finding the best route.

    Member Function Documentation

    RestrictionAttribute::RestrictionAttribute(Esri::ArcGISRuntime::RestrictionAttribute &&other)

    Move constructor from other RestrictionAttribute.

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

    Copy constructor from other RestrictionAttribute.

    RestrictionAttribute::RestrictionAttribute()

    Default constructor.

    Warning: This is for convenience only and will construct an empty object.

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

    Move operator from other RestrictionAttribute.

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

    Assignment operator from other RestrictionAttribute.

    RestrictionAttribute::~RestrictionAttribute()

    Destructor.

    bool RestrictionAttribute::isEmpty() const

    Returns true if this RestrictionAttribute is empty.

    QVariantMap RestrictionAttribute::parameterValues() const

    Returns key/value pairs representing the restriction parameters.

    QString RestrictionAttribute::restrictionUsageParameterName() const

    Returns the name of the restriction attribute.

    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