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

Opaque identity of one writer authority within one document session. More...

#include <document_session.hpp>

Public Member Functions

constexpr Provenance () noexcept=default
 Constructs an invalid provenance value.
constexpr bool valid () const noexcept
 Returns whether this value identifies a writer authority.
constexpr bool operator== (const Provenance &) const noexcept=default
 Compares both the session and writer identity without exposing either.

Friends

class WriterToken
class DocumentSession

Detailed Description

Opaque identity of one writer authority within one document session.

This copyable value supports equality checks only. It does not expose the session nonce and does not authorize submission or ID allocation.

Constructor & Destructor Documentation

◆ Provenance()

pulp::timeline::WriterToken::Provenance::Provenance ( )
constexprdefaultnoexcept

Constructs an invalid provenance value.

Member Function Documentation

◆ operator==()

bool pulp::timeline::WriterToken::Provenance::operator== ( const Provenance & ) const
constexprdefaultnoexcept

Compares both the session and writer identity without exposing either.

◆ valid()

bool pulp::timeline::WriterToken::Provenance::valid ( ) const
inlineconstexprnoexcept

Returns whether this value identifies a writer authority.

◆ DocumentSession

friend class DocumentSession
friend

◆ WriterToken

friend class WriterToken
friend

The documentation for this class was generated from the following file: