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

#include <model.hpp>

Collaboration diagram for serif::utils::serialize::Serializer< model::StellarState< Layout > >:
[legend]

Public Types

using T = model::StellarState<Layout>
 

Static Public Member Functions

static Node save (const T &value)
 Keep physical coefficients exact, including every surface and scalar coordinate.
 
static Result< T > load (const Node &node)
 Reject coefficient counts inconsistent with the saved physical layout.
 

Static Public Attributes

static constexpr std::string_view key = "stellar_state"
 

Member Typedef Documentation

◆ T

template<typename Layout>
using serif::utils::serialize::Serializer< model::StellarState< Layout > >::T = model::StellarState<Layout>

Member Function Documentation

◆ load()

template<typename Layout>
static Result< T > serif::utils::serialize::Serializer< model::StellarState< Layout > >::load ( const Node & node)
inlinestaticnodiscard

Reject coefficient counts inconsistent with the saved physical layout.

◆ save()

template<typename Layout>
static Node serif::utils::serialize::Serializer< model::StellarState< Layout > >::save ( const T & value)
inlinestaticnodiscard

Keep physical coefficients exact, including every surface and scalar coordinate.

Member Data Documentation

◆ key

template<typename Layout>
std::string_view serif::utils::serialize::Serializer< model::StellarState< Layout > >::key = "stellar_state"
staticconstexpr

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