• iterator
  • class Esri::ArcGISRuntime::Iterable::iterator

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

    Public Functions

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

    Detailed Description

    Member Function Documentation

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

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

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

    Copy constructor that copies the other into a new iterator.

    iterator::~iterator()

    Destructor.

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

    Compares this iterator against other.

    Returns true if this and other point to different objects.

    T iterator::operator*() const

    Returns the current item the iterator points to.

    Returns the templated value.

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

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

    Incrementing an iterator already pointing to Iterable::end is undefined.

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

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

    Incrementing an iterator already pointing to Iterable::end is undefined.

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

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

    Compares this const_iterator against other.

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

    [noexcept] bool iterator::operator<=(const Esri::ArcGISRuntime::Iterable<T>::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>::iterator &iterator::operator=(const Esri::ArcGISRuntime::Iterable<T>::iterator &other)

    Copy operator that copies the other into a new iterator

    Returns the new iterator.

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

    Compares this iterator against other.

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

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

    Compares this const_iterator against other.

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

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

    Compares this const_iterator against other.

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