library of assembled shared sources

http://lass.cocamware.com

lass::stde::const_integral_iterator< integral_type > Class Template Reference

#include <integral_range.h>


Public Types

typedef
const_integral_iterator
< integral_type > 
self_type
typedef std::iterator
< std::random_access_iterator_tag,
const integral_type > 
iterator_type
typedef iterator_type::value_type value_type
typedef iterator_type::pointer pointer
typedef iterator_type::reference reference
typedef
iterator_type::difference_type 
difference_type

Public Member Functions

 const_integral_iterator (value_type value, value_type step)
pointer operator-> () const
reference operator* () const
value_type operator[] (difference_type n) const
self_typeoperator++ ()
self_type operator++ (int)
self_typeoperator-- ()
self_type operator-- (int)
self_typeoperator+= (difference_type n)
self_typeoperator-= (difference_type n)
self_type operator+ (difference_type n) const
self_type operator- (difference_type n) const
difference_type operator- (const self_type &other) const

Private Attributes

integral_type value_
integral_type step_

Friends

bool operator== (const const_integral_iterator< integral_type > &, const const_integral_iterator< integral_type > &)
bool operator (const const_integral_iterator< integral_type > &, const const_integral_iterator< integral_type > &)


Detailed Description

template<typename integral_type>
class lass::stde::const_integral_iterator< integral_type >

Definition at line 69 of file integral_range.h.


Member Typedef Documentation

template<typename integral_type >
typedef const_integral_iterator<integral_type> lass::stde::const_integral_iterator< integral_type >::self_type

Definition at line 73 of file integral_range.h.

template<typename integral_type >
typedef std::iterator<std::random_access_iterator_tag, const integral_type> lass::stde::const_integral_iterator< integral_type >::iterator_type

Definition at line 74 of file integral_range.h.

template<typename integral_type >
typedef iterator_type::value_type lass::stde::const_integral_iterator< integral_type >::value_type

Definition at line 75 of file integral_range.h.

template<typename integral_type >
typedef iterator_type::pointer lass::stde::const_integral_iterator< integral_type >::pointer

Definition at line 76 of file integral_range.h.

template<typename integral_type >
typedef iterator_type::reference lass::stde::const_integral_iterator< integral_type >::reference

Definition at line 77 of file integral_range.h.

template<typename integral_type >
typedef iterator_type::difference_type lass::stde::const_integral_iterator< integral_type >::difference_type

Definition at line 78 of file integral_range.h.


Constructor & Destructor Documentation

template<typename I >
lass::stde::const_integral_iterator< I >::const_integral_iterator ( value_type  value,
value_type  step 
) [inline]

Definition at line 51 of file integral_range.inl.


Member Function Documentation

template<typename I >
const_integral_iterator< I >::pointer lass::stde::const_integral_iterator< I >::operator-> (  )  const [inline]

template<typename I >
const_integral_iterator< I >::reference lass::stde::const_integral_iterator< I >::operator* (  )  const [inline]

template<typename I >
const_integral_iterator< I >::value_type lass::stde::const_integral_iterator< I >::operator[] ( difference_type  n  )  const [inline]

template<typename I >
const_integral_iterator< I >::self_type & lass::stde::const_integral_iterator< I >::operator++ (  )  [inline]

template<typename I >
const_integral_iterator< I >::self_type lass::stde::const_integral_iterator< I >::operator++ ( int   )  [inline]

Definition at line 98 of file integral_range.inl.

template<typename I >
const_integral_iterator< I >::self_type & lass::stde::const_integral_iterator< I >::operator-- (  )  [inline]

template<typename I >
const_integral_iterator< I >::self_type lass::stde::const_integral_iterator< I >::operator-- ( int   )  [inline]

Definition at line 119 of file integral_range.inl.

template<typename I >
const_integral_iterator< I >::self_type & lass::stde::const_integral_iterator< I >::operator+= ( difference_type  n  )  [inline]

template<typename I >
const_integral_iterator< I >::self_type & lass::stde::const_integral_iterator< I >::operator-= ( difference_type  n  )  [inline]

template<typename I >
const_integral_iterator< I >::self_type lass::stde::const_integral_iterator< I >::operator+ ( difference_type  n  )  const [inline]

Definition at line 150 of file integral_range.inl.

template<typename I >
const_integral_iterator< I >::self_type lass::stde::const_integral_iterator< I >::operator- ( difference_type  n  )  const [inline]

Definition at line 161 of file integral_range.inl.

template<typename I >
const_integral_iterator< I >::difference_type lass::stde::const_integral_iterator< I >::operator- ( const self_type other  )  const [inline]


Friends And Related Function Documentation

template<typename integral_type >
bool operator== ( const const_integral_iterator< integral_type > &  ,
const const_integral_iterator< integral_type > &   
) [friend]

template<typename integral_type >
bool operator ( const const_integral_iterator< integral_type > &  ,
const const_integral_iterator< integral_type > &   
) [friend]


Field Documentation

template<typename integral_type >
integral_type lass::stde::const_integral_iterator< integral_type >::value_ [private]

template<typename integral_type >
integral_type lass::stde::const_integral_iterator< integral_type >::step_ [private]


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

Generated on Mon Nov 10 14:22:16 2008 for Library of Assembled Shared Sources by doxygen 1.5.7.1
SourceForge.net Logo