OpenStructure
Public Member Functions | Protected Attributes
const_circular_iter< T > Class Template Reference

#include <circular_iterator.hh>

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

Public Member Functions

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

Protected Attributes

iterator iter
iterator begin
iterator end

Detailed Description

template<typename T>
class const_circular_iter< T >

Definition at line 25 of file circular_iterator.hh.


Constructor & Destructor Documentation

const_circular_iter ( T &  t)
inline

Definition at line 34 of file circular_iterator.hh.

const_circular_iter ( iterator  b,
iterator  e 
)
inline

Definition at line 35 of file circular_iterator.hh.

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

Definition at line 36 of file circular_iterator.hh.


Member Function Documentation

operator iterator ( )
inline

Definition at line 37 of file circular_iterator.hh.

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

Definition at line 94 of file circular_iterator.hh.

const value_type operator* ( ) const
inline

Definition at line 88 of file circular_iterator.hh.

const_circular_iter<T> operator+ ( int  n)
inline

Definition at line 80 of file circular_iterator.hh.

const_circular_iter<T>& operator++ ( )
inline

Definition at line 40 of file circular_iterator.hh.

const_circular_iter<T> operator++ ( int  )
inline

Definition at line 50 of file circular_iterator.hh.

const_circular_iter<T> operator- ( int  n)
inline

Definition at line 73 of file circular_iterator.hh.

const_circular_iter<T>& operator-- ( )
inline

Definition at line 56 of file circular_iterator.hh.

const_circular_iter<T> operator-- ( int  )
inline

Definition at line 66 of file circular_iterator.hh.

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

Definition at line 91 of file circular_iterator.hh.


Field Documentation

iterator begin
protected

Definition at line 31 of file circular_iterator.hh.

iterator end
protected

Definition at line 32 of file circular_iterator.hh.

iterator iter
protected

Definition at line 30 of file circular_iterator.hh.


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