CircularBuffer< TYPE >::const_iterator Class Reference

#include <circular_buffer.hpp>

Public Types

typedef const_iterator self_type
 
typedef TYPE value_type
 
typedef TYPE & reference
 
typedef TYPE * pointer
 
typedef std::forward_iterator_tag iterator_category
 
typedef int difference_type
 

Public Member Functions

 const_iterator (CircularBuffer< TYPE > *p)
 
self_type operator++ ()
 Preincrement operator ie: ++iterator. More...
 
self_type operator++ (int unused)
 Postincrement operator ie: iterator++. More...
 
reference operator* ()
 
pointer operator-> ()
 pointer operator to get the address ie: *(iterator.operator->()) More...
 
bool operator!= (const self_type &rhs)
 != operator between iterators More...
 
bool operator== (const self_type &rhs)
 == operator between iterators More...
 

Member Typedef Documentation

template<typename TYPE>
typedef int CircularBuffer< TYPE >::const_iterator::difference_type
template<typename TYPE>
typedef std::forward_iterator_tag CircularBuffer< TYPE >::const_iterator::iterator_category
template<typename TYPE>
typedef TYPE* CircularBuffer< TYPE >::const_iterator::pointer
template<typename TYPE>
typedef TYPE& CircularBuffer< TYPE >::const_iterator::reference
template<typename TYPE>
typedef const_iterator CircularBuffer< TYPE >::const_iterator::self_type
template<typename TYPE>
typedef TYPE CircularBuffer< TYPE >::const_iterator::value_type

Constructor & Destructor Documentation

template<typename TYPE>
CircularBuffer< TYPE >::const_iterator::const_iterator ( CircularBuffer< TYPE > *  p)
inline

Member Function Documentation

template<typename TYPE>
bool CircularBuffer< TYPE >::const_iterator::operator!= ( const self_type rhs)
inline

!= operator between iterators

template<typename TYPE>
reference CircularBuffer< TYPE >::const_iterator::operator* ( )
inline
template<typename TYPE>
self_type CircularBuffer< TYPE >::const_iterator::operator++ ( )
inline

Preincrement operator ie: ++iterator.

template<typename TYPE>
self_type CircularBuffer< TYPE >::const_iterator::operator++ ( int  unused)
inline

Postincrement operator ie: iterator++.

template<typename TYPE>
pointer CircularBuffer< TYPE >::const_iterator::operator-> ( )
inline

pointer operator to get the address ie: *(iterator.operator->())

template<typename TYPE>
bool CircularBuffer< TYPE >::const_iterator::operator== ( const self_type rhs)
inline

== operator between iterators


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