OpenStructure
Public Member Functions
circular_iter< T > Class Template Reference

#include <circular_iterator.hh>

Inherits iterator< std::bidirectional_iterator_tag, T::value_type >.

Public Member Functions

 circular_iter (T &t)
 circular_iter (iterator b, iterator e)
 circular_iter (iterator b, iterator e, iterator pos)
circular_iter< T > & operator++ ()
circular_iter< T > operator++ (int)
circular_iter< T > & operator-- ()
circular_iter< T > operator-- (int)
circular_iter< T > operator- (int n)
circular_iter< T > operator+ (int n)
const value_type operator* () const
value_type & operator* ()
bool operator== (const circular_iter< T > &rhs) const
bool operator!= (const circular_iter< T > &rhs) const
 operator iterator ()

Detailed Description

template<typename T>
class circular_iter< T >

Definition at line 100 of file circular_iterator.hh.


Constructor & Destructor Documentation

circular_iter ( T &  t)
inline

Definition at line 109 of file circular_iterator.hh.

circular_iter ( iterator  b,
iterator  e 
)
inline

Definition at line 110 of file circular_iterator.hh.

circular_iter ( iterator  b,
iterator  e,
iterator  pos 
)
inline

Definition at line 111 of file circular_iterator.hh.


Member Function Documentation

operator iterator ( )
inline

Definition at line 170 of file circular_iterator.hh.

bool operator!= ( const circular_iter< T > &  rhs) const
inline

Definition at line 169 of file circular_iterator.hh.

const value_type operator* ( ) const
inline

Definition at line 160 of file circular_iterator.hh.

value_type& operator* ( )
inline

Definition at line 163 of file circular_iterator.hh.

circular_iter<T> operator+ ( int  n)
inline

Definition at line 152 of file circular_iterator.hh.

circular_iter<T>& operator++ ( )
inline

Definition at line 113 of file circular_iterator.hh.

circular_iter<T> operator++ ( int  )
inline

Definition at line 123 of file circular_iterator.hh.

circular_iter<T> operator- ( int  n)
inline

Definition at line 145 of file circular_iterator.hh.

circular_iter<T>& operator-- ( )
inline

Definition at line 129 of file circular_iterator.hh.

circular_iter<T> operator-- ( int  )
inline

Definition at line 139 of file circular_iterator.hh.

bool operator== ( const circular_iter< T > &  rhs) const
inline

Definition at line 166 of file circular_iterator.hh.


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