Clio develop
The XRP Ledger API server.
Loading...
Searching...
No Matches
migration::impl::MigratorSpec Concept Reference

The migrator specification concept. More...

#include <Spec.hpp>

Concept definition

template<typename T, typename Backend>
concept migration::impl::MigratorSpec = requires(std::shared_ptr<Backend> const& backend, util::config::ObjectView const& cfg) {
{ T::kNAME } -> std::convertible_to<std::string>;
{ T::kDESCRIPTION } -> std::convertible_to<std::string>;
typename T::Backend;
{ T::runMigration(backend, cfg) } -> std::same_as<void>;
}
Provides a view into a subset of configuration data defined by a prefix.
Definition ObjectView.hpp:40
The migrator specification concept.
Definition Spec.hpp:36

Detailed Description

The migrator specification concept.