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

Canonically ordered mapping from source identities to remapped identities. More...

#include <model.hpp>

Public Member Functions

std::span< const std::pair< ItemId, ItemId > > entries () const noexcept
 Returns mappings ordered by source identity.
std::optional< ItemId > find (ItemId old_id) const noexcept
 Returns the remapped identity for old_id, or std::nullopt.

Friends

struct IdRemapBuilder

Detailed Description

Canonically ordered mapping from source identities to remapped identities.

Member Function Documentation

◆ entries()

std::span< const std::pair< ItemId, ItemId > > pulp::timeline::IdRemapTable::entries ( ) const
inlinenoexcept

Returns mappings ordered by source identity.

◆ find()

std::optional< ItemId > pulp::timeline::IdRemapTable::find ( ItemId old_id) const
noexcept

Returns the remapped identity for old_id, or std::nullopt.

◆ IdRemapBuilder

friend struct IdRemapBuilder
friend

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