SERiF v0.0.1a
Stellar Evolution and Rotation in Four Dimensions
Loading...
Searching...
No Matches
serif::utils::serialize::Serializer< model::StellarModel< EOS, Definition, types::TypeList< Specifications... > > > Struct Template Reference

#include <model.hpp>

Collaboration diagram for serif::utils::serialize::Serializer< model::StellarModel< EOS, Definition, types::TypeList< Specifications... > > >:
[legend]

Public Types

using T = model::StellarModel<EOS, Definition, types::TypeList<Specifications...>>
 

Static Public Member Functions

static Node save (const T &value)
 Preserve authored intent and, when available, independently reconstructible current physics.
 
static Result< T > load (const Node &node)
 Exact authored-type reconstruction requires a serializer for its definition or callable.
 

Static Public Attributes

static constexpr std::string_view key = "stellar_model"
 

Member Typedef Documentation

◆ T

template<typename EOS, typename Definition, typename... Specifications>
using serif::utils::serialize::Serializer< model::StellarModel< EOS, Definition, types::TypeList< Specifications... > > >::T = model::StellarModel<EOS, Definition, types::TypeList<Specifications...>>

Member Function Documentation

◆ load()

template<typename EOS, typename Definition, typename... Specifications>
static Result< T > serif::utils::serialize::Serializer< model::StellarModel< EOS, Definition, types::TypeList< Specifications... > > >::load ( const Node & node)
inlinestaticnodiscard

Exact authored-type reconstruction requires a serializer for its definition or callable.

◆ save()

template<typename EOS, typename Definition, typename... Specifications>
static Node serif::utils::serialize::Serializer< model::StellarModel< EOS, Definition, types::TypeList< Specifications... > > >::save ( const T & value)
inlinestaticnodiscard

Preserve authored intent and, when available, independently reconstructible current physics.

Member Data Documentation

◆ key

template<typename EOS, typename Definition, typename... Specifications>
std::string_view serif::utils::serialize::Serializer< model::StellarModel< EOS, Definition, types::TypeList< Specifications... > > >::key = "stellar_model"
staticconstexpr

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