Audacity 3.2.0
|
#include <Channel.h>
Public Member Functions | |
IntervalIterator ()=default | |
IntervalIterator (GroupType *pGroup, size_t index) | |
std::shared_ptr< IntervalType > | operator* () const |
IntervalIterator & | operator++ () |
IntervalIterator | operator++ (int) |
IntervalIterator & | operator-- () |
IntervalIterator | operator-- (int) |
Private Types | |
using | GroupType = std::conditional_t< std::is_const_v< IntervalType >, const ChannelGroup, ChannelGroup > |
Private Attributes | |
GroupType * | mpGroup {} |
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 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 476 of file Channel.h.
References staffpad::vo::copy().
|
inline |
|
inline |
Definition at line 480 of file Channel.h.
References staffpad::vo::copy().
|
friend |
|
friend |
|
private |
|
private |