tool::iterator< Bottom > Struct Template Reference

Base interface for iterators. More...

#include <wipal/tool/iterator.hh>

List of all members.

Iterator types.

typedef ssize_t difference_type
typedef value_type * pointer
typedef value_type & reference
typedef std::input_iterator_tag iterator_category
typedef wp_type (value_type, exact_type) value_type

Public Member Functions

typedef wp_get_exact (Bottom, iterator< Bottom >) exact_type
Equality checks
bool operator== (const exact_type &) const
bool operator!= (const exact_type &) const
Increment operators
const exact_type & operator++ ()
exact_type operator++ (int)
Indirections
const value_type & operator * () const
const value_type * operator-> () const

Protected Member Functions

 ~iterator ()


Detailed Description

template<class Bottom>
struct tool::iterator< Bottom >

Base interface for iterators.

iterator provides the standard operators one expects from iterators (== , != , ++ , * , -> ).

To subclass iterator, you must provide the following methods:


Constructor & Destructor Documentation

template<class B>
tool::iterator< B >::~iterator (  )  [inline, protected]

Protected destructor: iterator is abstract.


Member Function Documentation

template<class Bottom>
typedef tool::iterator< Bottom >::wp_get_exact ( Bottom  ,
iterator< Bottom >   
)

Exact type for this template instantiation.


The documentation for this struct was generated from the following files:
Generated on Wed Jan 16 16:15:14 2008 for wipal by  doxygen 1.5.4