wpl::tool::window_maker< InputIterator, WSize, Step, Bottom > Struct Template Reference

Iterable object that builds windows over a sequence. More...

#include <wipal/tool/window.hh>

Inheritance diagram for wpl::tool::window_maker< InputIterator, WSize, Step, Bottom >:
wpl::tool::iterable< Bottom > wpl::tool::static_base< Bottom >

List of all members.

Public Types

typedef HIDDEN exact_type
Iterator types

typedef HIDDEN iterator
typedef iterator const_iterator

Public Member Functions

 window_maker (const InputIterator &first, const InputIterator &last)
iterator begin () const
iterator end () const
template<class OutputIterator >
void operator() (const OutputIterator &output) const
template<class O >
void operator() (const O &o) const
template<class F >
void for_each (F &f) const
template<class F >
void for_each (const F &f) const
Apply a function/functor to each element

template<class Functor >
void for_each (Functor &f) const
template<class Functor >
void for_each (const Functor &f) const
Downcast methods

const exact_typeexact () const
exact_typeexact ()
const exact_typeexact_ptr () const
exact_typeexact_ptr ()

Friends

class window< InputIterator, WSize, Step >

Detailed Description

template<class InputIterator, unsigned WSize, unsigned Step = 1, class Bottom = bottom>
struct wpl::tool::window_maker< InputIterator, WSize, Step, Bottom >

Iterable object that builds windows over a sequence.

window_maker's main role is to provide a begin() and an end() method that return windows over a sequence.

See also:
window

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

Generated by  doxygen 1.6.2