SourceObjectPosition Class

  • SourceObjectPosition
  • class Esri::ArcGISRuntime::SourceObjectPosition

    Position of the source object (a network element) in the source network dataset. More...

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

    This class was introduced in Esri::ArcGISRuntime 100.0.

    Public Functions

    SourceObjectPosition(Esri::ArcGISRuntime::SourceObjectPosition &&other)
    SourceObjectPosition(const Esri::ArcGISRuntime::SourceObjectPosition &other)
    SourceObjectPosition(int sourceIndex, qint64 sourceObjectId, double position)
    SourceObjectPosition()
    Esri::ArcGISRuntime::SourceObjectPosition &operator=(Esri::ArcGISRuntime::SourceObjectPosition &&other)
    Esri::ArcGISRuntime::SourceObjectPosition &operator=(const Esri::ArcGISRuntime::SourceObjectPosition &other)
    ~SourceObjectPosition()
    bool isEmpty() const
    double position() const
    void setPosition(double position)
    void setSourceIndex(int sourceIndex)
    void setSourceObjectId(qint64 sourceObjectId)
    int sourceIndex() const
    qint64 sourceObjectId() const

    Detailed Description

    You can use this to specify where something is at on a network, as opposed to using the geometry of a Stop or a PointBarrier.

    See also Network Analysis Objects.

    Member Function Documentation

    SourceObjectPosition::SourceObjectPosition(Esri::ArcGISRuntime::SourceObjectPosition &&other)

    Move constructor from other SourceObjectPosition.

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

    Copy constructor from other SourceObjectPosition.

    SourceObjectPosition::SourceObjectPosition(int sourceIndex, qint64 sourceObjectId, double position)

    Constructor that takes a sourceIndex, sourceObjectId, and position.

    SourceObjectPosition::SourceObjectPosition()

    Default constructor.

    Warning: This is for convenience only and will construct an empty object. Use the parameterized constructor.

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

    Move operator from other SourceObjectPosition.

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

    Assignment operator from other SourceObjectPosition.

    SourceObjectPosition::~SourceObjectPosition()

    Destructor.

    bool SourceObjectPosition::isEmpty() const

    Returns true if this SourceObjectPosition is empty.

    double SourceObjectPosition::position() const

    Returns the position.

    See also setPosition().

    void SourceObjectPosition::setPosition(double position)

    Returns the position.

    See also position().

    void SourceObjectPosition::setSourceIndex(int sourceIndex)

    Sets the sourceIndex.

    See also sourceIndex().

    void SourceObjectPosition::setSourceObjectId(qint64 sourceObjectId)

    Sets the sourceObjectId.

    See also sourceObjectId().

    int SourceObjectPosition::sourceIndex() const

    Returns the source index.

    See also setSourceIndex().

    qint64 SourceObjectPosition::sourceObjectId() const

    Returns the source Object ID.

    See also setSourceObjectId().

    Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.