Audacity 3.2.0
|
#include <Channel.h>
Public Member Functions | |
IntervalIterator ()=default | |
IntervalIterator (ChannelType *pChannel, size_t index) | |
std::shared_ptr< IntervalType > | operator* () const |
IntervalIterator & | operator++ () |
IntervalIterator | operator++ (int) |
IntervalIterator & | operator-- () |
IntervalIterator | operator-- (int) |
Private Types | |
using | ChannelType = std::conditional_t< std::is_const_v< IntervalType >, const Channel, Channel > |
Private Attributes | |
ChannelType * | mpChannel {} |
size_t | mIndex {} |
Friends | |
bool | operator== (IntervalIterator a, IntervalIterator b) |
bool | operator!= (IntervalIterator a, IntervalIterator b) |
Additional Inherited Members | |
Public Types inherited from ValueIterator< std::shared_ptr< IntervalType >, std::bidirectional_iterator_tag > | |
using | iterator_category = std::bidirectional_iterator_tag |
using | value_type = std::shared_ptr< IntervalType > |
using | difference_type = ptrdiff_t |
using | pointer = void |
using | reference = const std::shared_ptr< IntervalType > |
Iterator for intervals; destroying the related ChannelGroup or WideChannelGroupInterval invalidates it
Some intervals may have zero duration, and no ordering of the intervals is assumed.
|
private |
|
default |
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 229 of file Channel.h.
References staffpad::vo::copy().
|
inline |
|
inline |
Definition at line 233 of file Channel.h.
References staffpad::vo::copy().
|
friend |
|
friend |
|
private |
|
private |