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

A note intent that passed validate_note_edit_intent and may cross a host seam. More...

#include <edit_intent.hpp>

Public Member Functions

const NoteEditIntent & value () const noexcept
 Returns the immutable validated value retained by this wrapper.
bool operator== (const ValidatedNoteEditIntent &other) const noexcept

Static Public Member Functions

static runtime::Result< ValidatedNoteEditIntent, timeline::ModelError > create (NoteEditIntent intent) noexcept
 Validates and owns one complete intent, or returns its first error.

Detailed Description

A note intent that passed validate_note_edit_intent and may cross a host seam.

Member Function Documentation

◆ create()

runtime::Result< ValidatedNoteEditIntent, timeline::ModelError > pulp::timeline_editor::ValidatedNoteEditIntent::create ( NoteEditIntent intent)
staticnoexcept

Validates and owns one complete intent, or returns its first error.

◆ operator==()

bool pulp::timeline_editor::ValidatedNoteEditIntent::operator== ( const ValidatedNoteEditIntent & other) const
inlinenoexcept

◆ value()

const NoteEditIntent & pulp::timeline_editor::ValidatedNoteEditIntent::value ( ) const
inlinenoexcept

Returns the immutable validated value retained by this wrapper.


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