Honeycomb  0.1
Component-Model Framework
Public Types | Public Member Functions | List of all members
honey::RingIter< Range, Iter > Class Template Reference

Ring iterator. See ringRange() to create. More...

#include <Range.h>

Public Types

typedef mt::iterOf< Range >::type RangeIter
 
typedef mt::iter_endOf< Range >::type RangeIterEnd
 
typedef std::bidirectional_iterator_tag iterator_category
 
typedef std::iterator_traits< Iter >::value_type value_type
 
typedef std::iterator_traits< Iter >::difference_type difference_type
 
typedef std::iterator_traits< Iter >::pointer pointer
 
typedef std::iterator_traits< Iter >::reference reference
 

Public Member Functions

 RingIter (const RangeIter &begin, const RangeIterEnd &end, const Iter &cur, bool bEnd=false)
 
RingIteroperator++ ()
 
RingIteroperator-- ()
 
RingIter operator++ (int)
 
RingIter operator-- (int)
 
bool operator== (const RingIter &rhs) const
 
bool operator!= (const RingIter &rhs) const
 
reference operator* () const
 
pointer operator-> () const
 
 operator const Iter & () const
 
const Iter & iter () const
 

Detailed Description

template<class Range, class Iter>
class honey::RingIter< Range, Iter >

Ring iterator. See ringRange() to create.

Member Typedef Documentation

template<class Range , class Iter >
typedef std::iterator_traits<Iter>::difference_type honey::RingIter< Range, Iter >::difference_type
template<class Range , class Iter >
typedef std::bidirectional_iterator_tag honey::RingIter< Range, Iter >::iterator_category
template<class Range , class Iter >
typedef std::iterator_traits<Iter>::pointer honey::RingIter< Range, Iter >::pointer
template<class Range , class Iter >
typedef mt::iterOf<Range>::type honey::RingIter< Range, Iter >::RangeIter
template<class Range , class Iter >
typedef mt::iter_endOf<Range>::type honey::RingIter< Range, Iter >::RangeIterEnd
template<class Range , class Iter >
typedef std::iterator_traits<Iter>::reference honey::RingIter< Range, Iter >::reference
template<class Range , class Iter >
typedef std::iterator_traits<Iter>::value_type honey::RingIter< Range, Iter >::value_type

Constructor & Destructor Documentation

template<class Range , class Iter >
honey::RingIter< Range, Iter >::RingIter ( const RangeIter begin,
const RangeIterEnd end,
const Iter &  cur,
bool  bEnd = false 
)
inline

Member Function Documentation

template<class Range , class Iter >
const Iter& honey::RingIter< Range, Iter >::iter ( ) const
inline
template<class Range , class Iter >
honey::RingIter< Range, Iter >::operator const Iter & ( ) const
inline
template<class Range , class Iter >
bool honey::RingIter< Range, Iter >::operator!= ( const RingIter< Range, Iter > &  rhs) const
inline
template<class Range , class Iter >
reference honey::RingIter< Range, Iter >::operator* ( ) const
inline
template<class Range , class Iter >
RingIter& honey::RingIter< Range, Iter >::operator++ ( )
inline
template<class Range , class Iter >
RingIter honey::RingIter< Range, Iter >::operator++ ( int  )
inline
template<class Range , class Iter >
RingIter& honey::RingIter< Range, Iter >::operator-- ( )
inline
template<class Range , class Iter >
RingIter honey::RingIter< Range, Iter >::operator-- ( int  )
inline
template<class Range , class Iter >
pointer honey::RingIter< Range, Iter >::operator-> ( ) const
inline
template<class Range , class Iter >
bool honey::RingIter< Range, Iter >::operator== ( const RingIter< Range, Iter > &  rhs) const
inline

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