Audio Processing Framework (APF) version 0.5.0
|
TODO: overview of iterators? More...
Classes | |
class | apf::accumulating_iterator< I > |
An output iterator which adds on assignment. More... | |
class | apf::cast_iterator< T, I > |
Iterator that casts items to T* on dereferenciation. More... | |
class | apf::circular_iterator< I > |
Circular iterator class. More... | |
class | apf::transform_iterator< I, F > |
Iterator adaptor with a function call at dereferenciation. More... | |
class | apf::index_iterator< T > |
Iterator with a built-in number. More... | |
class | apf::stride_iterator< I > |
A stride iterator. More... | |
class | apf::dual_iterator< I1, I2 > |
Iterate over two iterators at once. More... | |
class | apf::discard_iterator |
An iterator which does nothing. More... | |
Functions | |
template<typename I > | |
accumulating_iterator< I > | apf::make_accumulating_iterator (I base_iterator) |
Helper function to create an accumulating_iterator. More... | |
template<typename T , typename I > | |
cast_iterator< T, I > | apf::make_cast_iterator (I base_iterator) |
Helper function to create a cast_iterator. More... | |
template<typename I > | |
circular_iterator< I > | apf::make_circular_iterator (I begin, I end) |
Helper function to create a circular_iterator. More... | |
template<typename I > | |
circular_iterator< I > | apf::make_circular_iterator (I begin, I end, I current) |
Helper function to create a circular_iterator. More... | |
template<typename I , typename F > | |
transform_iterator< I, F > | apf::make_transform_iterator (I base_iterator, F f) |
Helper function to create a transform_iterator. More... | |
template<typename T > | |
index_iterator< T > | apf::make_index_iterator (T start) |
Helper function to create an index_iterator. More... | |
template<typename I1 , typename I2 > | |
dual_iterator< I1, I2 > | apf::make_dual_iterator (I1 i1, I2 i2) |
Helper function to create an dual_iterator. More... | |
TODO: overview of iterators?
accumulating_iterator< I > apf::make_accumulating_iterator | ( | I | base_iterator | ) |
Helper function to create an accumulating_iterator.
The template parameter is optional because it can be inferred from the parameter base_iterator
. Example:
base_iterator | the base iterator |
Definition at line 505 of file iterator.h.
cast_iterator< T, I > apf::make_cast_iterator | ( | I | base_iterator | ) |
Helper function to create a cast_iterator.
The second template parameter is optional because it can be inferred from the parameter base_iterator
. Example:
base_iterator | the base iterator |
Definition at line 606 of file iterator.h.
circular_iterator< I > apf::make_circular_iterator | ( | I | begin, |
I | end | ||
) |
Helper function to create a circular_iterator.
The template parameter is optional because it can be inferred from the parameter(s). Example:
some_begin | the first iterator |
some_end | past-the-end iterator |
Definition at line 840 of file iterator.h.
circular_iterator< I > apf::make_circular_iterator | ( | I | begin, |
I | end, | ||
I | current | ||
) |
Helper function to create a circular_iterator.
The template parameter is optional because it can be inferred from the parameter(s). Example:
some_begin | the first iterator |
some_end | past-the-end iterator |
some_current | current iterator |
Definition at line 857 of file iterator.h.
transform_iterator< I, F > apf::make_transform_iterator | ( | I | base_iterator, |
F | f | ||
) |
Helper function to create a transform_iterator.
The template parameters are optional because they can be inferred from the parameters base_iterator
and f
. Example:
base_iterator | the base iterator |
f | the function (normally a function object) |
Definition at line 944 of file iterator.h.
index_iterator< T > apf::make_index_iterator | ( | T | start | ) |
Helper function to create an index_iterator.
The template parameter is optional because it can be inferred from the parameter start
. Example:
start | the start index |
Definition at line 1034 of file iterator.h.
dual_iterator< I1, I2 > apf::make_dual_iterator | ( | I1 | i1, |
I2 | i2 | ||
) |
Helper function to create an dual_iterator.
The template parameters are optional because they can be inferred from the parameters i1
and i2
. Example:
i1 | one base iterator |
i2 | another base iterator |
Definition at line 1334 of file iterator.h.