Skip To Content ArcGIS for Developers Sign In Dashboard

RestrictionAttribute Class

(Esri::ArcGISRuntime::RestrictionAttribute)

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

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

Public Functions

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

Detailed Description

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

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

Member Function Documentation

RestrictionAttribute::RestrictionAttribute()

Default constructor.

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

RestrictionAttribute::RestrictionAttribute(const RestrictionAttribute &other)

Copy constructor from other RestrictionAttribute.

RestrictionAttribute::RestrictionAttribute(RestrictionAttribute &&other)

Move constructor 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.

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

Assignment operator from other RestrictionAttribute.

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

Move operator from other RestrictionAttribute.


Feedback on this topic?