Urho3D::RandomAccessConstIterator< T > Struct Template Reference

Random access const iterator. More...

#include <Urho3D/Container/VectorBase.h>

Public Member Functions

 RandomAccessConstIterator ()
 Construct.
 
 RandomAccessConstIterator (const T *ptr)
 Construct with an object pointer.
 
 RandomAccessConstIterator (const RandomAccessIterator< T > &rhs)
 Construct from a non-const iterator.
 
RandomAccessConstIterator< T > & operator= (const RandomAccessIterator< T > &rhs)
 Assign from a non-const iterator.
 
const T * operator-> () const
 Point to the object.
 
const T & operator* () const
 Dereference the object.
 
RandomAccessConstIterator< T > & operator++ ()
 Preincrement the pointer.
 
RandomAccessConstIterator< T > operator++ (int)
 Postincrement the pointer.
 
RandomAccessConstIterator< T > & operator-- ()
 Predecrement the pointer.
 
RandomAccessConstIterator< T > operator-- (int)
 Postdecrement the pointer.
 
RandomAccessConstIterator< T > & operator+= (int value)
 Add an offset to the pointer.
 
RandomAccessConstIterator< T > & operator-= (int value)
 Subtract an offset from the pointer.
 
RandomAccessConstIterator< T > operator+ (int value) const
 Add an offset to the pointer.
 
RandomAccessConstIterator< T > operator- (int value) const
 Subtract an offset from the pointer.
 
int operator- (const RandomAccessConstIterator &rhs) const
 Calculate offset to another iterator.
 
bool operator== (const RandomAccessConstIterator &rhs) const
 Test for equality with another iterator.
 
bool operator!= (const RandomAccessConstIterator &rhs) const
 Test for inequality with another iterator.
 
bool operator< (const RandomAccessConstIterator &rhs) const
 Test for less than with another iterator.
 
bool operator> (const RandomAccessConstIterator &rhs) const
 Test for greater than with another iterator.
 
bool operator<= (const RandomAccessConstIterator &rhs) const
 Test for less than or equal with another iterator.
 
bool operator>= (const RandomAccessConstIterator &rhs) const
 Test for greater than or equal with another iterator.
 

Public Attributes

const T * ptr_
 Pointer.
 

Detailed Description

template<class T>
struct Urho3D::RandomAccessConstIterator< T >

Random access const iterator.


The documentation for this struct was generated from the following file:
  • Source/Urho3D/Container/VectorBase.h