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

#include <physics.hpp>

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

Static Public Member Functions

static Node save (const model::FixedTotalMass &value)
 Preserve the prescribed dimensional target.
 
static Result< model::FixedTotalMass > load (const Node &node)
 Validate the target through the existing physical constructor.
 

Static Public Attributes

static constexpr std::string_view key = "physics.fixed_total_mass"
 

Member Function Documentation

◆ load()

static Result< model::FixedTotalMass > serif::utils::serialize::Serializer< model::FixedTotalMass >::load ( const Node & node)
inlinestaticnodiscard

Validate the target through the existing physical constructor.

◆ save()

static Node serif::utils::serialize::Serializer< model::FixedTotalMass >::save ( const model::FixedTotalMass & value)
inlinestaticnodiscard

Preserve the prescribed dimensional target.

Member Data Documentation

◆ key

std::string_view serif::utils::serialize::Serializer< model::FixedTotalMass >::key = "physics.fixed_total_mass"
staticconstexpr

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