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

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

#include <model.hpp>

Public Types

using value_type = Clip
using difference_type = std::ptrdiff_t
using iterator_category = std::forward_iterator_tag

Public Member Functions

const Clip & operator* () const noexcept
 Borrows the current clip; retained index storage keeps it alive.
const Clip * operator-> () const noexcept
 Returns the address of the current borrowed clip.
Iterator & operator++ () noexcept
 Advances in canonical timeline order.
bool operator== (const Iterator &) const noexcept=default
 Compares iterator position and retained index identity.

Friends

class ClipView

Detailed Description

Forward iterator that keeps the underlying persistent index alive.

Member Typedef Documentation

◆ difference_type

◆ iterator_category

◆ value_type

Member Function Documentation

◆ operator*()

const Clip & pulp::timeline::Track::ClipView::Iterator::operator* ( ) const
noexcept

Borrows the current clip; retained index storage keeps it alive.

◆ operator++()

Iterator & pulp::timeline::Track::ClipView::Iterator::operator++ ( )
noexcept

Advances in canonical timeline order.

◆ operator->()

const Clip * pulp::timeline::Track::ClipView::Iterator::operator-> ( ) const
noexcept

Returns the address of the current borrowed clip.

◆ operator==()

bool pulp::timeline::Track::ClipView::Iterator::operator== ( const Iterator & ) const
defaultnoexcept

Compares iterator position and retained index identity.

◆ ClipView

friend class ClipView
friend

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