Pulp 1.88.0
Cross-platform audio plugin framework
Loading...
Searching...
No Matches
preview.hpp
Go to the documentation of this file.
1#pragma once
2
9
13
14#include <cstdint>
15#include <string>
16#include <vector>
17
19
32
34 std::string name;
35 bool available = false;
36};
37
39 std::string id;
40 std::string provider;
41 std::string license_expression;
43 bool required = true;
44 bool resolvable_locally = false;
45};
46
54 std::vector<std::string> license_expressions;
62 std::vector<ComponentRef> blocking_components;
63};
64
91
92} // namespace pulp::authoring_capsule
Permission to pass a component's bytes on.
Definition component.hpp:57
Per-component policy.
The capsule envelope: the only authority for what a capsule is.
Definition archive.hpp:24
CompatibilityVerdict
What the local runtime can offer for this capsule.
Definition preview.hpp:21
@ supported
Profile registered, versions satisfied, capabilities available.
Definition preview.hpp:23
@ unsupported
The profile or a required capability is not registered here.
Definition preview.hpp:30
@ runtime_too_old
Understood, but the local runtime is too old.
Definition preview.hpp:28
@ other_product
Understood, but this product is not its product.
Definition preview.hpp:26
Completeness
Derived from the component rows.
Definition component.hpp:170
@ partial
Inspectable or editable, but not fully rebuildable or playable.
Definition component.hpp:176
Admission failure vocabulary for authoring capsules.
std::string name
Definition preview.hpp:34
bool available
Definition preview.hpp:35
A rejection with the exact subject that caused it.
Definition status.hpp:69
std::uint64_t archive_bytes
Definition preview.hpp:73
Manifest manifest
Definition preview.hpp:66
std::vector< DependencySummary > dependencies
Definition preview.hpp:70
RightsSummary rights
Definition preview.hpp:71
CapsuleError unmet
Populated when compatibility is not supported: the exact profile, version, capability,...
Definition preview.hpp:89
bool contains_executable_data
True when at least one component carries executable_data.
Definition preview.hpp:80
Completeness completeness
Definition preview.hpp:68
std::string signer_id
Definition preview.hpp:85
CompatibilityVerdict compatibility
Definition preview.hpp:67
bool signature_verified
True when a trust envelope was present and verified.
Definition preview.hpp:84
std::uint64_t expanded_bytes
Definition preview.hpp:74
std::size_t member_count
Definition preview.hpp:75
std::vector< CapabilityRequirement > capabilities
Definition preview.hpp:69
std::string license_expression
Definition preview.hpp:41
Redistribution redistribution
Definition preview.hpp:42
bool required
Definition preview.hpp:43
bool resolvable_locally
Definition preview.hpp:44
std::string id
Definition preview.hpp:39
std::string provider
Definition preview.hpp:40
Definition manifest.hpp:47
Rights facts, machine-derived.
Definition preview.hpp:50
bool any_unknown_redistribution
Definition preview.hpp:51
std::vector< ComponentRef > blocking_components
Components that block a self-contained redistributable claim, each named by its own kind of identity:...
Definition preview.hpp:62
bool any_restricted_redistribution
Definition preview.hpp:52
std::vector< std::string > license_expressions
Definition preview.hpp:54
bool attribution_required
Definition preview.hpp:53