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

#include <circular_iterator.hh>

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

Constructor & Destructor Documentation

◆ const_circular_iter() [1/3]

const_circular_iter ( T &  t)
inline

Definition at line 36 of file circular_iterator.hh.

◆ const_circular_iter() [2/3]

const_circular_iter ( iterator  b,
iterator  e 
)
inline

Definition at line 37 of file circular_iterator.hh.

◆ const_circular_iter() [3/3]

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

Definition at line 38 of file circular_iterator.hh.

Member Function Documentation

◆ operator iterator()

operator iterator ( )
inline

Definition at line 39 of file circular_iterator.hh.

◆ operator!=()

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

Definition at line 96 of file circular_iterator.hh.

◆ operator*()

const value_type operator* ( ) const
inline

Definition at line 90 of file circular_iterator.hh.

◆ operator+()

const_circular_iter<T> operator+ ( int  n)
inline

Definition at line 82 of file circular_iterator.hh.

◆ operator++() [1/2]

const_circular_iter<T>& operator++ ( )
inline

Definition at line 42 of file circular_iterator.hh.

◆ operator++() [2/2]

const_circular_iter<T> operator++ ( int  )
inline

Definition at line 52 of file circular_iterator.hh.

◆ operator-()

const_circular_iter<T> operator- ( int  n)
inline

Definition at line 75 of file circular_iterator.hh.

◆ operator--() [1/2]

const_circular_iter<T>& operator-- ( )
inline

Definition at line 58 of file circular_iterator.hh.

◆ operator--() [2/2]

const_circular_iter<T> operator-- ( int  )
inline

Definition at line 68 of file circular_iterator.hh.

◆ operator==()

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

Definition at line 93 of file circular_iterator.hh.

Field Documentation

◆ begin

iterator begin
protected

Definition at line 33 of file circular_iterator.hh.

◆ end

iterator end
protected

Definition at line 34 of file circular_iterator.hh.

◆ iter

iterator iter
protected

Definition at line 32 of file circular_iterator.hh.


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