#include <WaveTrack.h>
Definition at line 328 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 341 of file WaveTrack.h.
342 {
344 return nullptr;
345 else
346 return mStack.back().first->get();
347 }
◆ operator++()
auto WaveTrack::AllClipsIterator::operator++ |
( |
| ) |
|
Definition at line 2469 of file WaveTrack.cpp.
2470{
2471
2472
2474 auto &pair =
mStack.back();
2475 if ( ++pair.first == pair.second ) {
2477 }
2478 else
2479 push( (*pair.first)->GetCutLines() );
2480 }
2481
2482 return *this;
2483}
◆ push()
Definition at line 2485 of file WaveTrack.cpp.
2486{
2487 auto pClips = &clips;
2488 while (!pClips->empty()) {
2489 auto first = pClips->begin();
2490 mStack.push_back(
Pair( first, pClips->end() ) );
2491 pClips = &(*first)->GetCutLines();
2492 }
2493}
std::pair< Iterator, Iterator > Pair
References mStack.
◆ operator!=
Definition at line 356 of file WaveTrack.h.
358 { return !( a == b ); }
◆ operator==
Definition at line 352 of file WaveTrack.h.
354 { return a.mStack.empty() == b.mStack.empty(); }
◆ mStack
Stack WaveTrack::AllClipsIterator::mStack |
|
private |
The documentation for this class was generated from the following files: