#include <trace-tools/tool/window.hh>
Public Types | |
typedef HIDDEN | exact_type |
typedef HIDDEN | iterator |
Public Member Functions | |
window_maker (const InputIterator &first, const InputIterator &last) | |
iterator | begin () |
iterator | end () |
template<class OutputIterator> | |
void | operator() (const OutputIterator &output) |
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 > |
window_maker's main role is to provide a begin()
and an end()
method that return windows over a sequence.
typedef HIDDEN tool::iterable< Bottom >::exact_type [inherited] |
typedef HIDDEN tool::iterable< Bottom >::iterator [inherited] |
Iterator type for this template instantiation.
tool::window_maker< I, Ws, S, B >::window_maker | ( | const I & | first, | |
const I & | last | |||
) | [inline] |
Construct a window_maker from a sequence.
iterable< B >::iterator tool::iterable< B >::begin | ( | ) | [inline, inherited] |
Get an iterator to the first element.
iterable< B >::iterator tool::iterable< B >::end | ( | ) | [inline, inherited] |
Get an iterator to the end (past the last element).
void tool::iterable< B >::operator() | ( | const O & | output | ) | [inline, inherited] |
Copy elements to output
.
const static_base< Bottom >::exact_type & tool::static_base< Bottom >::exact | ( | ) | const [inline, inherited] |
Safely downcast to the exact type as a const reference.
static_base< Bottom >::exact_type & tool::static_base< Bottom >::exact | ( | ) | [inline, inherited] |
Safely downcast to the exact type as a non-const reference.
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.
static_base< Bottom >::exact_type * tool::static_base< Bottom >::exact_ptr | ( | ) | [inline, inherited] |
Safely downcast to the exact type as a non-const pointer.