Pulp 1.88.0
Cross-platform audio plugin framework
Loading...
Searching...
No Matches
pulp::timeline::Track::ClipView Class Reference

Snapshot-owned random-access view of clips in timeline order. More...

#include <model.hpp>

Classes

class  Iterator
 Forward iterator that keeps the underlying persistent index alive. More...

Public Member Functions

std::size_t size () const noexcept
 Returns the number of clips in the view.
bool empty () const noexcept
 Returns whether the view contains no clips.
const Clip & operator[] (std::size_t index) const noexcept
 Returns the clip at index; precondition: index < size().
Iterator begin () const noexcept
 Returns an iterator to the first clip.
Iterator end () const noexcept
 Returns the sentinel iterator after the final clip.

Friends

class Track

Detailed Description

Snapshot-owned random-access view of clips in timeline order.

Member Function Documentation

◆ begin()

Iterator pulp::timeline::Track::ClipView::begin ( ) const
inlinenoexcept

Returns an iterator to the first clip.

◆ empty()

bool pulp::timeline::Track::ClipView::empty ( ) const
inlinenoexcept

Returns whether the view contains no clips.

◆ end()

Iterator pulp::timeline::Track::ClipView::end ( ) const
inlinenoexcept

Returns the sentinel iterator after the final clip.

◆ operator[]()

const Clip & pulp::timeline::Track::ClipView::operator[] ( std::size_t index) const
noexcept

Returns the clip at index; precondition: index < size().

◆ size()

std::size_t pulp::timeline::Track::ClipView::size ( ) const
inlinenoexcept

Returns the number of clips in the view.

◆ Track

friend class Track
friend

The documentation for this class was generated from the following file:
  • /home/runner/work/pulp/pulp/core/timeline/include/pulp/timeline/model.hpp