Skip To Content ArcGIS for Developers Sign In Dashboard

const_iterator Class

(Esri::ArcGISRuntime::Iterable::const_iterator)

Public Functions

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

Member Function Documentation

const_iterator::const_iterator(const Iterable *owner, int index)

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

const_iterator::const_iterator(const const_iterator &other)

Copy constructor that copies the other into a new const_iterator.

bool const_iterator::operator!=(const const_iterator &other) const

Compares this const_iterator against other.

Returns true if this and other point to different objects.

const T const_iterator::operator*()

Returns the current item the const_iterator points to

Returns the templated value.

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.

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 Iterable::cend is undefined.

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

bool const_iterator::operator<(const const_iterator &other) const

Compares this const_iterator against other.

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

bool const_iterator::operator<=(const const_iterator &other) const

const_iterator &const_iterator::operator=(const const_iterator &other)

Copy operator that copies the other into a new const_iterator.

Returns the new const_iterator.

bool const_iterator::operator==(const const_iterator &other) const

Compares this const_iterator against other.

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

bool const_iterator::operator>(const const_iterator &other) const

bool const_iterator::operator>=(const const_iterator &other) const


Feedback on this topic?