Pulp 1.88.0
Cross-platform audio plugin framework
Loading...
Searching...
No Matches
pulp::timeline::SchemaReleaseMap Struct Reference

Immutable set of schema-version targets identified by a release label. More...

#include <schema_release.hpp>

Public Member Functions

const SchemaVersionTarget * find (SchemaDomain domain, std::string_view type_name) const noexcept
 Finds a target by domain and type name.

Public Attributes

std::string_view release_label
std::span< const SchemaVersionTarget > versions

Detailed Description

Immutable set of schema-version targets identified by a release label.

The label and version span refer to static storage for built-in maps.

Member Function Documentation

◆ find()

const SchemaVersionTarget * pulp::timeline::SchemaReleaseMap::find ( SchemaDomain domain,
std::string_view type_name ) const
noexcept

Finds a target by domain and type name.

Returns
A pointer into versions, valid for the map lifetime, or nullptr.

Member Data Documentation

◆ release_label

std::string_view pulp::timeline::SchemaReleaseMap::release_label

◆ versions

std::span<const SchemaVersionTarget> pulp::timeline::SchemaReleaseMap::versions

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