• const_iterator
  • class Esri::ArcGISRuntime::Iterable::const_iterator

    Forward const iterator for an Esri::ArcGISRuntime::Iterable. More...

    Public Functions

    const_iterator(const Esri::ArcGISRuntime::Iterable<T> *owner, int index)
    const_iterator(const Esri::ArcGISRuntime::Iterable<T>::const_iterator &other)
    ~const_iterator()
    bool operator!=(const Esri::ArcGISRuntime::Iterable<T>::const_iterator &other) const
    T operator*() const
    Esri::ArcGISRuntime::Iterable<T>::const_iterator &operator++()
    Esri::ArcGISRuntime::Iterable<T>::const_iterator operator++(int)
    bool operator<(const Esri::ArcGISRuntime::Iterable<T>::const_iterator &other) const
    bool operator<=(const Esri::ArcGISRuntime::Iterable<T>::const_iterator &other) const
    Esri::ArcGISRuntime::Iterable<T>::const_iterator &operator=(const Esri::ArcGISRuntime::Iterable<T>::const_iterator &other)
    bool operator==(const Esri::ArcGISRuntime::Iterable<T>::const_iterator &other) const
    bool operator>(const Esri::ArcGISRuntime::Iterable<T>::const_iterator &other) const
    bool operator>=(const Esri::ArcGISRuntime::Iterable<T>::const_iterator &other) const

    Detailed Description

    Member Function Documentation

    [noexcept] const_iterator::const_iterator(const Esri::ArcGISRuntime::Iterable<T> *owner, int index)

    Constructor that takes the owning owner Iterable as well as the requesting index.

    [noexcept] const_iterator::const_iterator(const Esri::ArcGISRuntime::Iterable<T>::const_iterator &other)

    Copy constructor that copies the other into a new const_iterator.

    const_iterator::~const_iterator()

    Destructor.

    [noexcept] bool const_iterator::operator!=(const Esri::ArcGISRuntime::Iterable<T>::const_iterator &other) const

    Compares this const_iterator against other.

    Returns true if this and other point to different objects.

    T const_iterator::operator*() const

    Returns the current item the const_iterator points to

    Returns the templated value.

    Esri::ArcGISRuntime::Iterable<T>::const_iterator &const_iterator::operator++()

    Prefix increment operator; returns an iterator pointing to the next object.

    Incrementing a const_iterator already pointing to the Iterable::cend is undefined.

    Esri::ArcGISRuntime::Iterable<T>::const_iterator const_iterator::operator++(int)

    Postfix increment operator; returns an iterator pointing to the next object.

    Incrementing a const_iterator already pointing to the cend is undefined.

    This method is less efficient than the prefix ++ operator.

    [noexcept] bool const_iterator::operator<(const Esri::ArcGISRuntime::Iterable<T>::const_iterator &other) const

    Compares this const_iterator against other.

    Returns true if this iterator points to an object less than other.

    [noexcept] bool const_iterator::operator<=(const Esri::ArcGISRuntime::Iterable<T>::const_iterator &other) const

    Compares this const_iterator against other.

    Returns true if this iterator points to an object less than or equal to other.

    [noexcept] Esri::ArcGISRuntime::Iterable<T>::const_iterator &const_iterator::operator=(const Esri::ArcGISRuntime::Iterable<T>::const_iterator &other)

    Copy operator that copies the other into a new const_iterator.

    Returns the new const_iterator.

    [noexcept] bool const_iterator::operator==(const Esri::ArcGISRuntime::Iterable<T>::const_iterator &other) const

    Compares this const_iterator against other.

    Returns true if this and other point to the same underlying object.

    [noexcept] bool const_iterator::operator>(const Esri::ArcGISRuntime::Iterable<T>::const_iterator &other) const

    Compares this const_iterator against other.

    Returns true if this iterator points to an object greater than other.

    [noexcept] bool const_iterator::operator>=(const Esri::ArcGISRuntime::Iterable<T>::const_iterator &other) const

    Compares this const_iterator against other.

    Returns true if this iterator points to an object greater or equal to other.