NetworkLocation Class

  • NetworkLocation
  • class Esri::ArcGISRuntime::NetworkLocation

    A stop or barrier's corresponding location of a source feature in the network dataset. More...

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

    Public Functions

    NetworkLocation()
    NetworkLocation(const Esri::ArcGISRuntime::NetworkLocation &other)
    NetworkLocation(Esri::ArcGISRuntime::NetworkLocation &&other)
    ~NetworkLocation()
    bool isEmpty() const
    bool isOnRightSideOfSource() const
    void setOnRightSideOfSource(bool onRightSideOfSource)
    void setSourceName(const QString &sourceName)
    void setSourceObjectPosition(const Esri::ArcGISRuntime::SourceObjectPosition &sourceObjectPosition)
    QString sourceName() const
    Esri::ArcGISRuntime::SourceObjectPosition sourceObjectPosition() const
    Esri::ArcGISRuntime::NetworkLocation &operator=(const Esri::ArcGISRuntime::NetworkLocation &other)
    Esri::ArcGISRuntime::NetworkLocation &operator=(Esri::ArcGISRuntime::NetworkLocation &&other)

    Detailed Description

    Member Function Documentation

    NetworkLocation::NetworkLocation()

    Default constructor.

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

    Copy constructor from other NetworkLocation.

    NetworkLocation::NetworkLocation(Esri::ArcGISRuntime::NetworkLocation &&other)

    Move constructor from other NetworkLocation.

    NetworkLocation::~NetworkLocation()

    Destructor.

    bool NetworkLocation::isEmpty() const

    Returns true if this NetworkLocation is empty.

    bool NetworkLocation::isOnRightSideOfSource() const

    Returns true if this NetworkLocation is on the right side of the source feature.

    void NetworkLocation::setOnRightSideOfSource(bool onRightSideOfSource)

    Sets if this NetworkLocation is onRightSideOfSource.

    See also isOnRightSideOfSource().

    void NetworkLocation::setSourceName(const QString &sourceName)

    Returns the sourceName of this NetworkLocation.

    See also sourceName().

    void NetworkLocation::setSourceObjectPosition(const Esri::ArcGISRuntime::SourceObjectPosition &sourceObjectPosition)

    Sets the sourceObjectPosition of this NetworkLocation.

    See also sourceObjectPosition().

    QString NetworkLocation::sourceName() const

    Returns the source name of this NetworkLocation.

    See also setSourceName().

    Esri::ArcGISRuntime::SourceObjectPosition NetworkLocation::sourceObjectPosition() const

    Returns the SourceObjectPosition of this NetworkLocation.

    See also setSourceObjectPosition().

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

    Assignment operator from other NetworkLocation.

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

    Move operator from other NetworkLocation.

    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