Pulp
1.88.0
Cross-platform audio plugin framework
Loading...
Searching...
No Matches
capability.hpp
Go to the documentation of this file.
1
#pragma once
2
3
// Per-format capability tables: what each interchange format may read, and what
4
// writing it costs the document.
5
//
6
// The tables are generated from core/interchange/capabilities/<format>.json into
7
// constexpr arrays, so a lookup is an index and there is nothing to parse at
8
// runtime. The generator materializes a closed world -- every concept has a row
9
// for every format -- which is what makes the default safe: a concept a format
10
// never declared reads as ImportLevel::None, so its reader refuses, and as
11
// ExportLevel::Drop, so its writer must obtain consent. Support is declared,
12
// never inherited.
13
//
14
// Adding a format is adding one JSON file plus its reader/writer. Nothing in
15
// this header changes.
16
17
#include <
pulp/interchange/generated/capability_tables.hpp
>
capability_tables.hpp
core
interchange
include
pulp
interchange
capability.hpp
Generated by
1.15.0