#include <WaveTrack.h>
Definition at line 718 of file WaveTrack.h.
◆ Iterator
◆ Pair
◆ Stack
◆ AllClipsIterator() [1/2]
WaveTrack::AllClipsIterator::AllClipsIterator |
( |
| ) |
|
|
inline |
◆ AllClipsIterator() [2/2]
WaveTrack::AllClipsIterator::AllClipsIterator |
( |
WaveTrack & |
track | ) |
|
|
inlineexplicit |
◆ operator*()
WaveClip * WaveTrack::AllClipsIterator::operator* |
( |
| ) |
const |
|
inline |
Definition at line 731 of file WaveTrack.h.
732 {
734 return nullptr;
735 else
736 return mStack.back().first->get();
737 }
◆ operator++()
auto WaveTrack::AllClipsIterator::operator++ |
( |
| ) |
|
Definition at line 4464 of file WaveTrack.cpp.
4465{
4466
4467
4469 auto &pair =
mStack.back();
4470 if ( ++pair.first == pair.second ) {
4472 }
4473 else
4474 push( (*pair.first)->GetCutLines() );
4475 }
4476
4477 return *this;
4478}
◆ push()
Definition at line 4480 of file WaveTrack.cpp.
4481{
4482 auto pClips = &clips;
4483 while (!pClips->empty()) {
4484 auto first = pClips->begin();
4485 mStack.push_back(
Pair( first, pClips->end() ) );
4486 pClips = &(*first)->GetCutLines();
4487 }
4488}
std::pair< Iterator, Iterator > Pair
References mStack.
◆ operator!=
Definition at line 746 of file WaveTrack.h.
748 { return !( a == b ); }
◆ operator==
Definition at line 742 of file WaveTrack.h.
744 { return a.mStack.empty() == b.mStack.empty(); }
◆ mStack
Stack WaveTrack::AllClipsIterator::mStack |
|
private |
The documentation for this class was generated from the following files: