An attribute to be used as a restriction in the analysis. More...
Header: | #include <RestrictionAttribute.h> |
Since: | Esri::ArcGISRuntime 100.0 |
Public Functions
RestrictionAttribute() | |
RestrictionAttribute(const Esri::ArcGISRuntime::RestrictionAttribute &other) | |
RestrictionAttribute(Esri::ArcGISRuntime::RestrictionAttribute &&other) | |
~RestrictionAttribute() | |
bool | isEmpty() const |
QVariantMap | parameterValues() const |
QString | restrictionUsageParameterName() const |
Esri::ArcGISRuntime::RestrictionAttribute & | operator=(const Esri::ArcGISRuntime::RestrictionAttribute &other) |
Esri::ArcGISRuntime::RestrictionAttribute & | operator=(Esri::ArcGISRuntime::RestrictionAttribute &&other) |
Detailed Description
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 Esri::ArcGISRuntime::RestrictionAttribute &other)
Copy constructor from other RestrictionAttribute.
RestrictionAttribute::RestrictionAttribute (Esri::ArcGISRuntime::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.
See also QList.
QString RestrictionAttribute::restrictionUsageParameterName () const
Returns the name of the restriction attribute.
Esri::ArcGISRuntime::RestrictionAttribute &RestrictionAttribute::operator=(const Esri::ArcGISRuntime::RestrictionAttribute &other)
Assignment operator from other RestrictionAttribute.
Esri::ArcGISRuntime::RestrictionAttribute &RestrictionAttribute::operator=(Esri::ArcGISRuntime::RestrictionAttribute &&other)
Move operator from other RestrictionAttribute.