Audio Processing Framework (APF) version 0.5.0
|
Convenience class providing begin() and end(). More...
#include <apf/iterator.h>
Public Types | |
using | iterator = I |
using | reference = typename std::iterator_traits< I >::reference |
using | difference_type = typename std::iterator_traits< I >::difference_type |
Public Member Functions | |
has_begin_and_end () | |
Default constructor. Singular iterators are created. More... | |
has_begin_and_end (iterator b, iterator e) | |
Constructor with begin and end. More... | |
template<typename Distance > | |
has_begin_and_end (iterator b, Distance length) | |
Constructor with begin and length. More... | |
iterator | begin () const |
Get begin. More... | |
iterator | end () const |
Get end. More... | |
reference | operator[] (difference_type n) const |
Subscript operator. More... | |
Protected Attributes | |
iterator | _begin |
iterator | _end |
Convenience class providing begin() and end().
The derived class can manipulate the protected members _begin and _end.
Definition at line 334 of file iterator.h.
using apf::has_begin_and_end< I >::iterator = I |
Definition at line 337 of file iterator.h.
using apf::has_begin_and_end< I >::reference = typename std::iterator_traits<I>::reference |
Definition at line 338 of file iterator.h.
using apf::has_begin_and_end< I >::difference_type = typename std::iterator_traits<I>::difference_type |
Definition at line 339 of file iterator.h.
|
inline |
Default constructor. Singular iterators are created.
Definition at line 342 of file iterator.h.
|
inline |
Constructor with begin and end.
Definition at line 345 of file iterator.h.
|
inline |
Constructor with begin and length.
Definition at line 349 of file iterator.h.
|
inline |
Get begin.
Definition at line 361 of file iterator.h.
|
inline |
Get end.
Definition at line 366 of file iterator.h.
|
inline |
Subscript operator.
I
is a random access iterator! Definition at line 370 of file iterator.h.
|
protected |
Definition at line 373 of file iterator.h.
|
protected |
Definition at line 373 of file iterator.h.