library of assembled shared sources

http://lass.cocamware.com

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

#include <integral_range.h>


Public Types

typedef integral_range_t
< integral_type > 
self_type
typedef
const_integral_iterator
< integral_type > 
const_iterator
typedef std::reverse_iterator
< const_iterator
const_reverse_iterator
typedef const_iterator::value_type value_type
typedef const_iterator::pointer const_pointer
typedef const_iterator::reference const_reference
typedef
const_iterator::difference_type 
difference_type
typedef std::size_t size_type

Public Member Functions

 integral_range_t ()
 integral_range_t (value_type last)
 integral_range_t (value_type first, value_type last)
 integral_range_t (value_type first, value_type last, value_type step)
const_iterator begin () const
const_iterator end () const
const_reverse_iterator rbegin () const
const_reverse_iterator rend () const
const_pointer operator-> () const
const_reference operator* () const
value_type operator[] (difference_type index) 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
const size_type size () const
const bool empty () const
const bool operator! () const
 operator const num::SafeBool () const
void swap (self_type &other)

Private Attributes

integral_type first_
integral_type last_
integral_type step_

Friends

bool operator== (const integral_range_t< integral_type > &a, const integral_range_t< integral_type > &b)
bool operator (const integral_range_t< integral_type > &a, const integral_range_t< integral_type > &b)


Detailed Description

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

Definition at line 119 of file integral_range.h.


Member Typedef Documentation

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

Definition at line 123 of file integral_range.h.

template<typename integral_type >
typedef const_integral_iterator<integral_type> lass::stde::integral_range_t< integral_type >::const_iterator

Definition at line 125 of file integral_range.h.

template<typename integral_type >
typedef std::reverse_iterator<const_iterator> lass::stde::integral_range_t< integral_type >::const_reverse_iterator

Definition at line 126 of file integral_range.h.

template<typename integral_type >
typedef const_iterator::value_type lass::stde::integral_range_t< integral_type >::value_type

Definition at line 128 of file integral_range.h.

template<typename integral_type >
typedef const_iterator::pointer lass::stde::integral_range_t< integral_type >::const_pointer

Definition at line 129 of file integral_range.h.

template<typename integral_type >
typedef const_iterator::reference lass::stde::integral_range_t< integral_type >::const_reference

Definition at line 130 of file integral_range.h.

template<typename integral_type >
typedef const_iterator::difference_type lass::stde::integral_range_t< integral_type >::difference_type

Definition at line 131 of file integral_range.h.

template<typename integral_type >
typedef std::size_t lass::stde::integral_range_t< integral_type >::size_type

Definition at line 132 of file integral_range.h.


Constructor & Destructor Documentation

template<typename I >
lass::stde::integral_range_t< I >::integral_range_t (  )  [inline]

Definition at line 234 of file integral_range.inl.

template<typename I >
lass::stde::integral_range_t< I >::integral_range_t ( value_type  last  )  [inline]

Definition at line 244 of file integral_range.inl.

template<typename I >
lass::stde::integral_range_t< I >::integral_range_t ( value_type  first,
value_type  last 
) [inline]

Definition at line 254 of file integral_range.inl.

template<typename I >
lass::stde::integral_range_t< I >::integral_range_t ( value_type  first,
value_type  last,
value_type  step 
) [inline]


Member Function Documentation

template<typename I >
integral_range_t< I >::const_iterator lass::stde::integral_range_t< I >::begin (  )  const [inline]

template<typename I >
integral_range_t< I >::const_iterator lass::stde::integral_range_t< I >::end (  )  const [inline]

template<typename I >
integral_range_t< I >::const_reverse_iterator lass::stde::integral_range_t< I >::rbegin (  )  const [inline]

template<typename I >
integral_range_t< I >::const_reverse_iterator lass::stde::integral_range_t< I >::rend (  )  const [inline]

template<typename integral_type >
const_pointer lass::stde::integral_range_t< integral_type >::operator-> (  )  const

template<typename integral_type >
const_reference lass::stde::integral_range_t< integral_type >::operator* (  )  const

template<typename integral_type >
value_type lass::stde::integral_range_t< integral_type >::operator[] ( difference_type  index  )  const

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

template<typename integral_type >
self_type lass::stde::integral_range_t< integral_type >::operator++ ( int   ) 

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

template<typename integral_type >
self_type lass::stde::integral_range_t< integral_type >::operator-- ( int   ) 

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

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

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

Definition at line 357 of file integral_range.inl.

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

Definition at line 368 of file integral_range.inl.

template<typename I >
const integral_range_t< I >::size_type lass::stde::integral_range_t< I >::size (  )  const [inline]

template<typename I >
const bool lass::stde::integral_range_t< I >::empty (  )  const [inline]

template<typename I >
const bool lass::stde::integral_range_t< I >::operator! (  )  const [inline]

template<typename I >
lass::stde::integral_range_t< I >::operator const num::SafeBool (  )  const [inline]

template<typename I >
void lass::stde::integral_range_t< I >::swap ( self_type other  )  [inline]


Friends And Related Function Documentation

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

template<typename integral_type >
bool operator ( const integral_range_t< integral_type > &  a,
const integral_range_t< integral_type > &  b 
) [friend]


Field Documentation

template<typename integral_type >
integral_type lass::stde::integral_range_t< integral_type >::first_ [private]

template<typename integral_type >
integral_type lass::stde::integral_range_t< integral_type >::last_ [private]

template<typename integral_type >
integral_type lass::stde::integral_range_t< 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