contiguous_diluter_iterator Class Template Reference
[Iterators Library]

#include <stlsoft/iterators/contiguous_diluter_iterator.hpp>

Inheritance diagram for contiguous_diluter_iterator:

iterator_base< C, T, D, P, R >

List of all members.


Detailed Description

template<typename T, typename C = std:: bidirectional_iterator_tag, typename D = ss_ptrdiff_t, typename P = T *, typename R = T &>
class stlsoft::contiguous_diluter_iterator< T, C, D, P, R >

An iterator adaptor class for use with Contiguous Iterators, to dilute the iterator category to BiDirectional or lesser.

Parameters:
T The value type of the iterator
C The iterator category. Defaults to std::bidirectional_iterator_tag
D The difference type of the iterator. Defaults to ptrdiff_t
P The pointer type of the iterator. Defaults to T*
R The reference type of the iterator. Defaults to T&

Member Types

typedef
contiguous_diluter_iterator< T,
C, D, P, R > 
class_type
typedef parent_class_type::pointer pointer
typedef
parent_class_type::reference 
reference

Public Member Functions

Construction
 contiguous_diluter_iterator (pointer p)
 Constructs from an instance of the iterator to be diluted.
Forward Iteration Methods
reference operator* ()
 Dereference operator.
class_typeoperator++ ()
 Pre-increment operator.
class_typeoperator++ (int)
 Post-increment operator.
bool equal (class_type const &rhs) const
bool operator== (class_type const &rhs) const
bool operator!= (class_type const &rhs) const
Bidirectional Iteration Methods
class_typeoperator-- ()
 Pre-decrement operator.
class_typeoperator-- (int)
 Post-decrement operator.

Constructor & Destructor Documentation

contiguous_diluter_iterator ( pointer  p  )  [inline]

Constructs from an instance of the iterator to be diluted.


Member Function Documentation

reference operator* (  )  [inline]

Dereference operator.

class_type& operator++ (  )  [inline]

Pre-increment operator.

Referenced by contiguous_diluter_iterator::operator++().

class_type& operator++ ( int   )  [inline]

Post-increment operator.

References contiguous_diluter_iterator::operator++().

class_type& operator-- (  )  [inline]

Pre-decrement operator.

Referenced by contiguous_diluter_iterator::operator--().

class_type& operator-- ( int   )  [inline]

Post-decrement operator.

References contiguous_diluter_iterator::operator--().


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

Generated on Thu Jun 10 08:58:47 2010 for STLSoft by  doxygen 1.5.6