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

Forward iterator that retains raw or persistent slot storage. More...

#include <clip_launch.hpp>

Public Types

using value_type = Slot
using difference_type = std::ptrdiff_t
using pointer = const Slot*
using reference = const Slot&
using iterator_category = std::forward_iterator_tag

Public Member Functions

const Slot & operator* () const noexcept
 Borrows the current slot; the iterator's retained storage keeps it alive.
const Slot * operator-> () const noexcept
 Returns the address of the current borrowed slot.
Iterator & operator++ () noexcept
 Advances in authored order.
Iterator operator++ (int) noexcept
 Advances in authored order and returns the prior iterator value.
bool operator== (const Iterator &) const noexcept=default
 Compares iterator position and retained storage identity.

Friends

class SlotList

Detailed Description

Forward iterator that retains raw or persistent slot storage.

Member Typedef Documentation

◆ difference_type

◆ iterator_category

using pulp::timeline::SlotList::Iterator::iterator_category = std::forward_iterator_tag

◆ pointer

◆ reference

◆ value_type

Member Function Documentation

◆ operator*()

const Slot & pulp::timeline::SlotList::Iterator::operator* ( ) const
noexcept

Borrows the current slot; the iterator's retained storage keeps it alive.

◆ operator++() [1/2]

Iterator & pulp::timeline::SlotList::Iterator::operator++ ( )
noexcept

Advances in authored order.

◆ operator++() [2/2]

Iterator pulp::timeline::SlotList::Iterator::operator++ ( int )
inlinenoexcept

Advances in authored order and returns the prior iterator value.

◆ operator->()

const Slot * pulp::timeline::SlotList::Iterator::operator-> ( ) const
noexcept

Returns the address of the current borrowed slot.

◆ operator==()

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

Compares iterator position and retained storage identity.

◆ SlotList

friend class SlotList
friend

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