OpenStructure
Public Member Functions
circular_iter< T > Class Template Reference

#include <circular_iterator.hh>

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 102 of file circular_iterator.hh.

Constructor & Destructor Documentation

◆ circular_iter() [1/3]

circular_iter ( T &  t)
inline

Definition at line 116 of file circular_iterator.hh.

◆ circular_iter() [2/3]

circular_iter ( iterator  b,
iterator  e 
)
inline

Definition at line 117 of file circular_iterator.hh.

◆ circular_iter() [3/3]

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

Definition at line 118 of file circular_iterator.hh.

Member Function Documentation

◆ operator iterator()

operator iterator ( )
inline

Definition at line 177 of file circular_iterator.hh.

◆ operator!=()

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

Definition at line 176 of file circular_iterator.hh.

◆ operator*() [1/2]

value_type& operator* ( )
inline

Definition at line 170 of file circular_iterator.hh.

◆ operator*() [2/2]

const value_type operator* ( ) const
inline

Definition at line 167 of file circular_iterator.hh.

◆ operator+()

circular_iter<T> operator+ ( int  n)
inline

Definition at line 159 of file circular_iterator.hh.

◆ operator++() [1/2]

circular_iter<T>& operator++ ( )
inline

Definition at line 120 of file circular_iterator.hh.

◆ operator++() [2/2]

circular_iter<T> operator++ ( int  )
inline

Definition at line 130 of file circular_iterator.hh.

◆ operator-()

circular_iter<T> operator- ( int  n)
inline

Definition at line 152 of file circular_iterator.hh.

◆ operator--() [1/2]

circular_iter<T>& operator-- ( )
inline

Definition at line 136 of file circular_iterator.hh.

◆ operator--() [2/2]

circular_iter<T> operator-- ( int  )
inline

Definition at line 146 of file circular_iterator.hh.

◆ operator==()

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

Definition at line 173 of file circular_iterator.hh.


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