Audacity 3.2.0
|
#include <Channel.h>
Public Member Functions | |
ChannelIterator ()=default | |
ChannelIterator (GroupType *pGroup, size_t index) | |
std::shared_ptr< ChannelType > | operator* () const |
ChannelIterator & | operator++ () |
ChannelIterator | operator++ (int) |
ChannelIterator & | operator-- () |
ChannelIterator | operator-- (int) |
Private Types | |
using | GroupType = std::conditional_t< std::is_const_v< ChannelType >, const ChannelGroup, ChannelGroup > |
Private Attributes | |
GroupType * | mpGroup {} |
size_t | mIndex {} |
Friends | |
bool | operator== (ChannelIterator a, ChannelIterator b) |
bool | operator!= (ChannelIterator a, ChannelIterator b) |
Additional Inherited Members | |
Public Types inherited from ValueIterator< std::shared_ptr< ChannelType >, std::bidirectional_iterator_tag > | |
using | iterator_category = std::bidirectional_iterator_tag |
using | value_type = std::shared_ptr< ChannelType > |
using | difference_type = ptrdiff_t |
using | pointer = void |
using | reference = const std::shared_ptr< ChannelType > |
Iterator for channels; destroying the related ChannelGroup invalidates it
|
private |
|
default |
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 365 of file Channel.h.
References staffpad::vo::copy().
|
inline |
|
inline |
Definition at line 369 of file Channel.h.
References staffpad::vo::copy().
|
friend |
|
friend |
|
private |
|
private |