ezEngine  Milestone 7
const_iterator_base< ARRAY, T, reverse > Struct Template Reference

Base class for STL like random access iterators. More...

#include <ArrayIterator.h>

Inheritance diagram for const_iterator_base< ARRAY, T, reverse >:

Public Types

typedef
std::random_access_iterator_tag 
iterator_category
 
typedef T value_type
 
typedef ptrdiff_t difference_type
 
typedef T const * pointer
 
typedef T const & reference
 

Public Member Functions

 const_iterator_base (const ARRAY &deque, size_t index)
 
EZ_FORCE_INLINE
const_iterator_base
operator++ ()
 
EZ_FORCE_INLINE
const_iterator_base
operator-- ()
 
EZ_FORCE_INLINE const_iterator_base operator++ (int)
 
EZ_FORCE_INLINE const_iterator_base operator-- (int)
 
EZ_FORCE_INLINE bool operator== (const const_iterator_base &rhs) const
 
EZ_FORCE_INLINE bool operator!= (const const_iterator_base &rhs) const
 
EZ_FORCE_INLINE ptrdiff_t operator- (const const_iterator_base &rhs) const
 
EZ_FORCE_INLINE const_iterator_base operator+ (ptrdiff_t rhs) const
 
EZ_FORCE_INLINE const_iterator_base operator- (ptrdiff_t rhs) const
 
EZ_FORCE_INLINE void operator+= (ptrdiff_t rhs)
 
EZ_FORCE_INLINE void operator-= (ptrdiff_t rhs)
 
EZ_FORCE_INLINE const T & operator* () const
 
EZ_FORCE_INLINE const T * operator-> () const
 
EZ_FORCE_INLINE bool operator< (const const_iterator_base &rhs) const
 
EZ_FORCE_INLINE bool operator> (const const_iterator_base &rhs) const
 
EZ_FORCE_INLINE bool operator<= (const const_iterator_base &rhs) const
 
EZ_FORCE_INLINE bool operator>= (const const_iterator_base &rhs) const
 

Protected Attributes

ARRAY * m_Array
 
size_t m_iIndex
 

Detailed Description

template<class ARRAY, class T, bool reverse = false>
struct const_iterator_base< ARRAY, T, reverse >

Base class for STL like random access iterators.


The documentation for this struct was generated from the following file: