Audacity 3.2.0
|
#include <LabelTrack.h>
Public Member Functions | |
Interval (const LabelTrack &track, size_t index) | |
~Interval () override | |
double | Start () const override |
double | End () const override |
size_t | NChannels () const override |
Report the number of channels. More... | |
std::shared_ptr< ChannelInterval > | DoGetChannel (size_t iChannel) override |
Retrieve a channel. More... | |
Public Member Functions inherited from WideChannelGroupInterval | |
~WideChannelGroupInterval () override | |
virtual size_t | NChannels () const =0 |
Report the number of channels. More... | |
template<typename IntervalType = ChannelInterval> | |
std::shared_ptr< IntervalType > | GetChannel (size_t iChannel) |
Retrieve a channel, cast to the given type. More... | |
template<typename IntervalType = const ChannelInterval> | |
auto | GetChannel (size_t iChannel) const -> std::enable_if_t< std::is_const_v< IntervalType >, std::shared_ptr< IntervalType > > |
template<typename IntervalType = ChannelInterval> | |
IteratorRange< ChannelIterator< IntervalType > > | Channels () |
Get range of ChannelInterval objects with mutative access. More... | |
template<typename IntervalType = const ChannelInterval> | |
auto | Channels () const -> std::enable_if_t< std::is_const_v< IntervalType >, IteratorRange< ChannelIterator< IntervalType > > > |
Get range of channels with read-only access. More... | |
Public Member Functions inherited from ChannelGroupInterval | |
ChannelGroupInterval ()=default | |
virtual | ~ChannelGroupInterval () |
virtual double | Start () const =0 |
virtual double | End () const =0 |
Public Attributes | |
size_t | index |
Private Attributes | |
const std::shared_ptr< const LabelTrack > | mpTrack |
Additional Inherited Members | |
virtual std::shared_ptr< ChannelInterval > | DoGetChannel (size_t iChannel)=0 |
Retrieve a channel. More... | |
Definition at line 194 of file LabelTrack.h.
|
inline |
Definition at line 195 of file LabelTrack.h.
|
overridedefault |
|
overridevirtual |
Retrieve a channel.
!(iChannel < NChannels()) || result
Implements WideChannelGroupInterval.
Definition at line 84 of file LabelTrack.cpp.
References anonymous_namespace{StretchingSequenceIntegrationTest.cpp}::iChannel.
|
overridevirtual |
Start() < result
Implements ChannelGroupInterval.
Definition at line 73 of file LabelTrack.cpp.
|
overridevirtual |
Report the number of channels.
result >= 1
Implements WideChannelGroupInterval.
Definition at line 78 of file LabelTrack.cpp.
|
overridevirtual |
result < End()
Implements ChannelGroupInterval.
Definition at line 68 of file LabelTrack.cpp.
size_t LabelTrack::Interval::index |
Definition at line 206 of file LabelTrack.h.
Referenced by Start().
|
private |