|
| enum class | ExportErrorCode : std::uint8_t { UnacceptedLoss
, NoWriterRegistered
, WriterFailed
, WriterFormatMismatch
} |
| enum class | ImportLevel : std::uint8_t { None = 0
, PreserveOpaque = 1
, Partial = 2
, Full = 3
} |
| | How much of a concept a format's reader admits. More...
|
| enum class | ExportLevel : std::uint8_t { Drop = 0
, RoundtripOnly = 1
, Degrade = 2
, Full = 3
} |
| | What a format's writer does with a concept the document uses. More...
|
| enum class | LossClass : std::uint8_t { Dropped = 0
, Degraded = 1
, Flattened = 2
, Approximated = 3
} |
| | How a concept is lost when a format cannot carry it intact. More...
|
| enum class | Format : std::uint8_t { DawProject = 0
, Smf = 1
} |
| | Interchange formats with a committed capability declaration. More...
|
| enum class | Concept : std::uint16_t {
Unknown = 0
, TrackFlat = 1
, TrackGroup = 2
, TrackVideo = 3
,
ClipMusical = 4
, ClipAbsolute = 5
, ClipNote = 6
, ClipMedia = 7
,
ClipGain = 8
, ClipFades = 9
, ClipCrossfade = 10
, ClipWarp = 11
,
ClipLaunch = 12
, GapExplicit = 13
, TempoSingle = 14
, TempoMap = 15
,
MeterSingle = 16
, MeterMap = 17
, Marker = 18
, TimecodeOrigin = 19
,
MediaProvenance = 20
, MixerTrackGain = 21
, MixerTrackPan = 22
, MixerSends = 23
,
AutomationDeviceParam = 24
, AutomationTrackGain = 25
, AutomationTrackPan = 26
, DevicePlacement = 27
,
DevicePayload = 28
, EffectTimewarp = 29
, TakeLane = 30
, TakeComp = 31
,
TrackFreeze = 32
, AssetSealedHash = 33
, AssetEmbeddedMedia = 34
, AssetReferencedMedia = 35
,
SequenceMultiple = 36
, SequenceNested = 37
, ContentRegistered = 38
, ContentOpaque = 39
,
EditRateNonAudio = 40
, ContextChordScale = 41
, ContextGroove = 42
, ClipNoteModifier = 43
,
ClipEmpty = 44
, TempoRamp = 45
, ClipNoteVelocityQuantized = 46
, TempoValueQuantized = 47
,
ClipMediaWindow = 48
, ClipFadeShape = 49
, ClipMidiExpressionLane = 50
, SequenceSectionRole = 51
,
ContextChordBass = 52
, ContextChordExtension = 53
, ContextChordVoicing = 54
, TuningProject = 55
,
TuningInstrument = 56
, ModulationModulator = 57
, ModulationMacro = 58
, ModulationRouteDeviceParam = 59
,
ModulationRouteTrackMixer = 60
} |
| | The format-neutral interchange concept vocabulary. More...
|
|
| ConceptCensus | census (const timeline::Project &project, const CensusLimits &limits={}) |
| | Walk a document and record every concept it uses.
|
| ExportPlan | plan_export (const timeline::Project &project, Format format, const CensusLimits &limits={}) |
| | Measure a document against a format.
|
| std::string | loss_manifest_json (const ExportPlan &plan) |
| | Serialize the canonical loss manifest carried by every plan and export result.
|
| runtime::Result< ExportArtifacts, ExportError > | run_export (const ExportPlan &plan, const ExportOptions &options, const ExportWriter &writer) |
| | Execute a plan.
|
| runtime::Result< ExportArtifacts, ExportError > | run_export (const ExportPlan &plan, const ExportOptions &options, const FormatBoundExportWriter &writer) |
| | Execute through a format-bound writer.
|
| constexpr std::string_view | format_id (Format format) noexcept |
| | The format's stable string id.
|
| constexpr std::string_view | format_display_name (Format format) noexcept |
| | The format's human-facing name.
|
| constexpr bool | format_has_writer (Format format) noexcept |
| | Whether a writer exists for this format. run_export refuses without one.
|
| constexpr bool | format_from_id (std::string_view id, Format &out) noexcept |
| | Resolve a string id to its format. Returns false when unrecognized.
|
| constexpr const ImportRow & | import_capability (Format format, Concept concept_value) noexcept |
| | The format's import declaration for one concept.
|
| constexpr const ExportRow & | export_capability (Format format, Concept concept_value) noexcept |
| | The format's export declaration for one concept, generated the same way (omitted concepts become Drop, so they surface as a loss needing consent).
|
| constexpr bool | import_supports (Format format, Concept concept_value) noexcept |
| | Whether the format's reader may admit the concept at all.
|
| constexpr bool | export_is_lossless (Format format, Concept concept_value) noexcept |
| | Whether exporting the concept costs the document anything.
|
| constexpr std::string_view | concept_id (Concept concept_value) noexcept |
| | The concept's stable string id, as written in the capability JSON.
|
| constexpr std::string_view | concept_summary (Concept concept_value) noexcept |
| | One-line description of what the concept covers.
|
| constexpr bool | concept_detectable_in_model (Concept concept_value) noexcept |
| | Whether a census over a timeline Project can observe this concept.
|
| constexpr Concept | concept_from_id (std::string_view id) noexcept |
| | Resolve a string id to its concept.
|
| constexpr std::string_view | export_level_id (ExportLevel level) noexcept |
| | Stable id for the lossy export level written into manifests.
|
| constexpr std::string_view | loss_class_id (LossClass loss_class) noexcept |
| | Stable id for a loss class, for manifests written into an artifact.
|