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

Nonzero monotonic identity for a Timeline-owned object. More...

#include <item_id.hpp>

Public Member Functions

constexpr bool valid () const noexcept
 Returns whether this value names an object rather than a sentinel.
constexpr auto operator<=> (const ItemId &) const =default

Public Attributes

std::uint64_t value = 0

Detailed Description

Nonzero monotonic identity for a Timeline-owned object.

Zero is the null sentinel. UINT64_MAX represents exhausted allocation and is not an object identity.

Member Function Documentation

◆ operator<=>()

auto pulp::timeline::ItemId::operator<=> ( const ItemId & ) const
constexprdefault

◆ valid()

bool pulp::timeline::ItemId::valid ( ) const
inlineconstexprnoexcept

Returns whether this value names an object rather than a sentinel.

Member Data Documentation

◆ value

std::uint64_t pulp::timeline::ItemId::value = 0

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