tool::iterator< Bottom > Struct Template Reference

Base interface for iterators. More...

#include <trace-tools/tool/iterator.hh>

Inheritance diagram for tool::iterator< Bottom >:

tool::static_base< Bottom > tool::iterator_base< Bottom > tool::window< InputIterator, WSize, Step, Bottom > pcapxx::internals::frame_iterator< Desc, Bottom > wifi::frame::filter::internals::ui_iterator< U, I, H, B, Bottom >

List of all members.

Public Types

typedef HIDDEN exact_type
typedef HIDDEN value_type
typedef size_t difference_type

Public Member Functions

Equality checks
bool operator== (const exact_type &) const
bool operator!= (const exact_type &) const
Increment operators
const exact_typeoperator++ ()
exact_type operator++ (int)
Indirections
const value_typeoperator * () const
const value_typeoperator-> () const
Downcast methods
const exact_typeexact () const
exact_typeexact ()
const exact_typeexact_ptr () const
exact_typeexact_ptr ()

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:


Member Typedef Documentation

template<class Bottom>
typedef HIDDEN tool::iterator< Bottom >::exact_type

Exact type for this template instantiation.

Reimplemented from tool::static_base< Bottom >.

Reimplemented in pcapxx::internals::frame_iterator< Desc, Bottom >, tool::iterator_base< Bottom >, tool::window< InputIterator, WSize, Step, Bottom >, and wifi::frame::filter::internals::ui_iterator< U, I, H, B, Bottom >.

template<class Bottom>
typedef HIDDEN tool::iterator< Bottom >::value_type

This iterator's value type.

Reimplemented in tool::iterator_base< Bottom >, and tool::window< InputIterator, WSize, Step, Bottom >.

template<class Bottom>
typedef size_t tool::iterator< Bottom >::difference_type

This iterator's difference type.


Constructor & Destructor Documentation

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

Protected destructor: iterator is abstract.


Member Function Documentation

template<class Bottom>
const static_base< Bottom >::exact_type & tool::static_base< Bottom >::exact (  )  const [inline, inherited]

Safely downcast to the exact type as a const reference.

template<class Bottom>
static_base< Bottom >::exact_type & tool::static_base< Bottom >::exact (  )  [inline, inherited]

Safely downcast to the exact type as a non-const reference.

template<class Bottom>
const static_base< Bottom >::exact_type * tool::static_base< Bottom >::exact_ptr (  )  const [inline, inherited]

Safely downcast to the exact type as a const pointer.

template<class Bottom>
static_base< Bottom >::exact_type * tool::static_base< Bottom >::exact_ptr (  )  [inline, inherited]

Safely downcast to the exact type as a non-const pointer.


The documentation for this struct was generated from the following files:
Generated on Wed Sep 12 16:02:47 2007 for trace-tools by  doxygen 1.5.3