OKlibrary  0.2.1.6
IteratorHandling::Arithmetical_progression< Num, Int >::iterator Class Reference

#include <IteratorHandling.hpp>

Inheritance diagram for IteratorHandling::Arithmetical_progression< Num, Int >::iterator:
IteratorHandling::Count_iterator< Int > iterator

List of all members.

Public Types

typedef Num value_type
typedef const Num * pointer
typedef Num reference

Public Member Functions

 iterator ()
reference operator* ()
reference operator* () const
friend OKLIB_DERIVED_UNEQUAL (iterator)
iteratoroperator++ ()
iteratoroperator-- ()
iterator operator++ (int)
iterator operator-- (int)
iteratoroperator+= (Int n)
iteratoroperator-= (Int n)

Friends

class Arithmetical_progression
bool operator== (const iterator lhs, const iterator rhs)
iterator operator+ (iterator i, Int n)
Int operator- (iterator lhs, iterator rhs)

Detailed Description

template<typename Num, typename Int>
class IteratorHandling::Arithmetical_progression< Num, Int >::iterator

Definition at line 107 of file IteratorHandling.hpp.


Member Typedef Documentation

template<typename Num, typename Int>
typedef const Num* IteratorHandling::Arithmetical_progression< Num, Int >::iterator::pointer

Definition at line 115 of file IteratorHandling.hpp.

template<typename Num, typename Int>
typedef Num IteratorHandling::Arithmetical_progression< Num, Int >::iterator::reference

Definition at line 116 of file IteratorHandling.hpp.

template<typename Num, typename Int>
typedef Num IteratorHandling::Arithmetical_progression< Num, Int >::iterator::value_type

Definition at line 114 of file IteratorHandling.hpp.


Constructor & Destructor Documentation

template<typename Num, typename Int>
IteratorHandling::Arithmetical_progression< Num, Int >::iterator::iterator ( ) [inline]

Definition at line 117 of file IteratorHandling.hpp.


Member Function Documentation

template<typename Num, typename Int>
IteratorHandling::Arithmetical_progression< Num, Int >::iterator::OKLIB_DERIVED_UNEQUAL ( iterator  )
template<typename Num, typename Int>
reference IteratorHandling::Arithmetical_progression< Num, Int >::iterator::operator* ( ) [inline]

Reimplemented from IteratorHandling::Count_iterator< Int >.

Definition at line 118 of file IteratorHandling.hpp.

References OKlib::AtomicConditions::eval().

template<typename Num, typename Int>
reference IteratorHandling::Arithmetical_progression< Num, Int >::iterator::operator* ( ) const [inline]

Definition at line 122 of file IteratorHandling.hpp.

References OKlib::AtomicConditions::eval().

template<typename Num, typename Int>
iterator& IteratorHandling::Arithmetical_progression< Num, Int >::iterator::operator++ ( ) [inline]
template<typename Num, typename Int>
iterator IteratorHandling::Arithmetical_progression< Num, Int >::iterator::operator++ ( int  ) [inline]
template<typename Num, typename Int>
iterator& IteratorHandling::Arithmetical_progression< Num, Int >::iterator::operator+= ( Int  n) [inline]

Reimplemented from IteratorHandling::Count_iterator< Int >.

Definition at line 148 of file IteratorHandling.hpp.

template<typename Num, typename Int>
iterator& IteratorHandling::Arithmetical_progression< Num, Int >::iterator::operator-- ( ) [inline]
template<typename Num, typename Int>
iterator IteratorHandling::Arithmetical_progression< Num, Int >::iterator::operator-- ( int  ) [inline]
template<typename Num, typename Int>
iterator& IteratorHandling::Arithmetical_progression< Num, Int >::iterator::operator-= ( Int  n) [inline]

Reimplemented from IteratorHandling::Count_iterator< Int >.

Definition at line 152 of file IteratorHandling.hpp.


Friends And Related Function Documentation

template<typename Num, typename Int>
friend class Arithmetical_progression [friend]

Definition at line 111 of file IteratorHandling.hpp.

template<typename Num, typename Int>
iterator operator+ ( iterator  i,
Int  n 
) [friend]

Definition at line 156 of file IteratorHandling.hpp.

template<typename Num, typename Int>
Int operator- ( iterator  lhs,
iterator  rhs 
) [friend]

Definition at line 159 of file IteratorHandling.hpp.

template<typename Num, typename Int>
bool operator== ( const iterator  lhs,
const iterator  rhs 
) [friend]

Definition at line 127 of file IteratorHandling.hpp.


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