Urho3D
|
Random access const iterator. More...
#include </home/runner/work/urho3d-doxygen.github.io/urho3d-doxygen.github.io/urho3d_repo/Source/Urho3D/Container/Iter.h>
Public Types | |
using | iterator_category = std::random_access_iterator_tag |
using | difference_type = i32 |
using | value_type = T |
using | pointer = T * |
using | reference = T & |
Public Member Functions | |
constexpr | RandomAccessConstIterator () |
Construct. | |
constexpr | RandomAccessConstIterator (const T *ptr) |
Construct with an object pointer. | |
constexpr | RandomAccessConstIterator (const RandomAccessIterator< T > &rhs) |
Construct from a non-const iterator. | |
constexpr RandomAccessConstIterator< T > & | operator= (const RandomAccessIterator< T > &rhs) |
Assign from a non-const iterator. | |
constexpr const T * | operator-> () const |
Point to the object. | |
constexpr const T & | operator* () const |
Dereference the object. | |
constexpr RandomAccessConstIterator< T > & | operator++ () |
Preincrement the pointer. | |
constexpr RandomAccessConstIterator< T > | operator++ (int) |
Postincrement the pointer. | |
constexpr RandomAccessConstIterator< T > & | operator-- () |
Predecrement the pointer. | |
constexpr RandomAccessConstIterator< T > | operator-- (int) |
Postdecrement the pointer. | |
constexpr RandomAccessConstIterator< T > & | operator+= (int value) |
Add an offset to the pointer. | |
constexpr RandomAccessConstIterator< T > & | operator-= (int value) |
Subtract an offset from the pointer. | |
constexpr RandomAccessConstIterator< T > | operator+ (int value) const |
Add an offset to the pointer. | |
constexpr RandomAccessConstIterator< T > | operator- (int value) const |
Subtract an offset from the pointer. | |
constexpr int | operator- (const RandomAccessConstIterator &rhs) const |
Calculate offset to another iterator. | |
constexpr bool | operator== (const RandomAccessConstIterator &rhs) const |
Test for equality with another iterator. | |
constexpr bool | operator!= (const RandomAccessConstIterator &rhs) const |
Test for inequality with another iterator. | |
constexpr bool | operator< (const RandomAccessConstIterator &rhs) const |
Test for less than with another iterator. | |
constexpr bool | operator> (const RandomAccessConstIterator &rhs) const |
Test for greater than with another iterator. | |
constexpr bool | operator<= (const RandomAccessConstIterator &rhs) const |
Test for less than or equal with another iterator. | |
constexpr bool | operator>= (const RandomAccessConstIterator &rhs) const |
Test for greater than or equal with another iterator. | |
Public Attributes | |
const T * | ptr_ |
Pointer. | |
Random access const iterator.