Urho3D::RandomAccessConstIterator< T > Struct Template Reference

Random access const iterator. More...

#include <VectorBase.h>

Public Member Functions

 RandomAccessConstIterator ()
 Construct.
 
 RandomAccessConstIterator (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

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:
  • /home/travis/build/urho3d/Urho3D/Source/Urho3D/Container/VectorBase.h