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

One adjacent version transition for a schema type. More...

#include <schema_registry.hpp>

Public Attributes

std::uint32_t from_version = 0
std::uint32_t to_version = 0
std::shared_ptr< const void > context
SchemaMigrationFn migrate = nullptr

Detailed Description

One adjacent version transition for a schema type.

Registration accepts only nonzero, one-version upgrade or downgrade edges within the type's current-version range.

Member Data Documentation

◆ context

std::shared_ptr<const void> pulp::timeline::MigrationStep::context

◆ from_version

std::uint32_t pulp::timeline::MigrationStep::from_version = 0

◆ migrate

SchemaMigrationFn pulp::timeline::MigrationStep::migrate = nullptr

◆ to_version

std::uint32_t pulp::timeline::MigrationStep::to_version = 0

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