Audacity 3.2.0
|
#include <WaveTrackUtilities.h>
Public Member Functions | |
AllClipsIterator () | |
AllClipsIterator (WaveTrack &track) | |
value_type | operator* () const |
AllClipsIterator & | operator++ () |
Private Types | |
using | Stack = std::vector< std::pair< IntervalHolders, size_t > > |
Private Member Functions | |
void | Push (IntervalHolders clips) |
Private Attributes | |
WaveTrack * | mpTrack {} |
Stack | mStack |
Friends | |
bool | operator== (const AllClipsIterator &a, const AllClipsIterator &b) |
Define == well enough to serve for loop termination test. More... | |
bool | operator!= (const AllClipsIterator &a, const AllClipsIterator &b) |
Additional Inherited Members | |
Public Types inherited from ValueIterator< IntervalHolder > | |
using | iterator_category = std::forward_iterator_tag |
using | value_type = IntervalHolder |
using | difference_type = ptrdiff_t |
using | pointer = void |
using | reference = const IntervalHolder |
Get mutative access to all clips (in some unspecified sequence), including those hidden in cutlines.
If clips are added to the track during the visit, not all may be visited. If a clip is removed from the track during the visit, there will not be dangling pointers, but a clip not in the track may be visited.
Definition at line 51 of file WaveTrackUtilities.h.
|
private |
Definition at line 74 of file WaveTrackUtilities.h.
|
inline |
Definition at line 55 of file WaveTrackUtilities.h.
|
explicit |
Audacity: A Digital Audio Editor
Paul Licameli
Definition at line 17 of file WaveTrackUtilities.cpp.
References WaveTrack::Intervals(), mpTrack, and Push().
auto WaveTrackUtilities::AllClipsIterator::operator* | ( | ) | const |
Definition at line 27 of file WaveTrackUtilities.cpp.
auto WaveTrackUtilities::AllClipsIterator::operator++ | ( | ) |
Definition at line 37 of file WaveTrackUtilities.cpp.
|
private |
Definition at line 52 of file WaveTrackUtilities.cpp.
Referenced by AllClipsIterator().
|
friend |
Definition at line 69 of file WaveTrackUtilities.h.
|
friend |
Define == well enough to serve for loop termination test.
Definition at line 65 of file WaveTrackUtilities.h.
|
private |
Definition at line 77 of file WaveTrackUtilities.h.
Referenced by AllClipsIterator().
|
private |
Definition at line 78 of file WaveTrackUtilities.h.