Audacity 3.2.0
|
Range between two TrackIters, usable in range-for statements, and with Visit member functions. More...
#include <Track.h>
Public Member Functions | |
TrackIterRange (const TrackIter< TrackType > &begin, const TrackIter< TrackType > &end) | |
template<typename Predicate2 > | |
TrackIterRange | operator+ (const Predicate2 &pred2) const |
template<typename R , typename C > | |
TrackIterRange | operator+ (R(C ::*pmf)() const) const |
template<typename Predicate2 > | |
TrackIterRange | operator- (const Predicate2 &pred2) const |
template<typename R , typename C > | |
TrackIterRange | operator- (R(C ::*pmf)() const) const |
template<typename TrackType2 > | |
TrackIterRange< TrackType2 > | Filter () const |
TrackIterRange | StartingWith (const Track *pTrack) const |
TrackIterRange | EndingAfter (const Track *pTrack) const |
TrackIterRange | Excluding (const TrackType *pExcluded) const |
template<typename ... Functions> | |
void | Visit (const Functions &...functions) |
See Track::TypeSwitch. More... | |
template<typename Flag , typename ... Functions> | |
void | VisitWhile (Flag &flag, const Functions &...functions) |
See Track::TypeSwitch. More... | |
Public Member Functions inherited from IteratorRange< TrackIter< TrackType > > | |
IteratorRange (const TrackIter< TrackType > &a, const TrackIter< TrackType > &b) | |
IteratorRange (TrackIter< TrackType > &&a, TrackIter< TrackType > &&b) | |
IteratorRange< reverse_iterator > | reversal () const |
TrackIter< TrackType > | begin () const |
TrackIter< TrackType > | end () const |
reverse_iterator | rbegin () const |
reverse_iterator | rend () const |
bool | empty () const |
operator bool () const | |
size_t | size () const |
iterator | find (const T &t) const |
long | index (const T &t) const |
bool | contains (const T &t) const |
iterator | find_if (const F &f) const |
long | index_if (const F &f) const |
bool | all_of (const F &f) const |
bool | any_of (const F &f) const |
bool | none_of (const F &f) const |
R | accumulate (R init, Binary binary_op={}, Unary unary_op={}) const |
R | accumulate (R init, Binary binary_op, R2(C ::*pmf)() const) const |
R | min (Unary unary_op={}) const |
R | min (R2(C ::*pmf)() const) const |
R | max (Unary unary_op={}) const |
R | max (R2(C ::*pmf)() const) const |
R | sum (Unary unary_op={}) const |
R | sum (R2(C ::*pmf)() const) const |
Additional Inherited Members | |
Public Types inherited from IteratorRange< TrackIter< TrackType > > | |
using | iterator = TrackIter< TrackType > |
using | reverse_iterator = std::reverse_iterator< TrackIter< TrackType > > |
Range between two TrackIters, usable in range-for statements, and with Visit member functions.
|
inline |
Definition at line 683 of file Track.h.
|
inline |
Definition at line 758 of file Track.h.
References IteratorRange< TrackIter< TrackType > >::reversal().
Referenced by TrackList::SingletonRange().
|
inline |
Definition at line 773 of file Track.h.
References TrackIterRange< TrackType >::operator-().
|
inline |
Definition at line 736 of file Track.h.
|
inline |
Definition at line 693 of file Track.h.
Referenced by TrackIterRange< TrackType >::operator+(), and TrackIterRange< TrackType >::operator-().
|
inline |
Definition at line 711 of file Track.h.
References TrackIterRange< TrackType >::operator+().
|
inline |
Definition at line 719 of file Track.h.
References TrackIterRange< TrackType >::operator+().
Referenced by TrackIterRange< TrackType >::Excluding().
|
inline |
Definition at line 730 of file Track.h.
References TrackIterRange< TrackType >::operator+().
|
inline |
Definition at line 744 of file Track.h.
References IteratorRange< TrackIter< TrackType > >::find().
Referenced by TrackList::SingletonRange().
|
inline |
See Track::TypeSwitch.
Definition at line 781 of file Track.h.
|
inline |
See Track::TypeSwitch.
Visit until flag is false, or no more tracks
Definition at line 790 of file Track.h.
References flag.