SERiF v0.0.1a
Stellar Evolution and Rotation in Four Dimensions
Loading...
Searching...
No Matches
serif::utils::serialize::Serializer< dependencies::DependencyContext< Resources... > > Struct Template Reference

#include <model.hpp>

Collaboration diagram for serif::utils::serialize::Serializer< dependencies::DependencyContext< Resources... > >:
[legend]

Public Types

using T = dependencies::DependencyContext<Resources...>
 

Static Public Member Functions

static Node save (const T &value)
 Preserve each source's physical key, value, ownership and tracking policy.
 
static Result< T > load (const Node &node)
 Rebuild contexts only when all source values and ownership policies are reconstructible.
 

Static Public Attributes

static constexpr std::string_view key = "prescribed_inputs"
 

Member Typedef Documentation

◆ T

template<typename... Resources>
using serif::utils::serialize::Serializer< dependencies::DependencyContext< Resources... > >::T = dependencies::DependencyContext<Resources...>

Member Function Documentation

◆ load()

template<typename... Resources>
static Result< T > serif::utils::serialize::Serializer< dependencies::DependencyContext< Resources... > >::load ( const Node & node)
inlinestaticnodiscard

Rebuild contexts only when all source values and ownership policies are reconstructible.

◆ save()

template<typename... Resources>
static Node serif::utils::serialize::Serializer< dependencies::DependencyContext< Resources... > >::save ( const T & value)
inlinestaticnodiscard

Preserve each source's physical key, value, ownership and tracking policy.

Member Data Documentation

◆ key

template<typename... Resources>
std::string_view serif::utils::serialize::Serializer< dependencies::DependencyContext< Resources... > >::key = "prescribed_inputs"
staticconstexpr

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