Iterable object that builds windows over a sequence. More...
#include <wipal/tool/window.hh>
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_type & | exact () const |
exact_type & | exact () |
const exact_type * | exact_ptr () const |
exact_type * | exact_ptr () |
Friends | |
class | window< InputIterator, WSize, Step > |
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.