|
SERiF v0.0.1a
Stellar Evolution and Rotation in Four Dimensions
|
Typedefs | |
| template<typename Model> | |
| using | ResolvedEquations = decltype(model::resolve_equilibrium_equations(std::declval<const Model&>())) |
| template<typename Model> | |
| using | OwnedEquations |
Functions | |
| Result< std::optional< equations::PointMassCompanion > > | read_companion (const Node &node) |
| Archives written before companions existed have no companion field; a single star stays one. | |
| Node | with_companion (Node node, const std::optional< equations::PointMassCompanion > &companion) |
| Record the companion only when there is one, so single-star archives keep their schema. | |
| std::uint64_t | value_count (const Value &value) |
| Scalar types have one value; numerical arrays and strings carry their explicit extent. | |
| std::string | encode_value (const Value &value, Format format) |
| Encode one indexed payload without relying on native object layout or byte order. | |
| Result< Value > | decode_value (std::string_view bytes, const Entry &entry, Format format) |
| Validate the extent and representation of an independently read payload. | |
| bool | valid_path (std::string_view path) |
| Restrict field names so path separators and line breaks cannot corrupt the ledger. | |
| Node | provenance (const WriteOptions &options) |
| Capture provenance once at the beginning of a write. | |
Variables | |
| constexpr std::uint64_t | header_bytes = 512 |
| using serif::utils::serialize::detail::OwnedEquations |
| using serif::utils::serialize::detail::ResolvedEquations = decltype(model::resolve_equilibrium_equations(std::declval<const Model&>())) |
|
nodiscard |
Validate the extent and representation of an independently read payload.
|
nodiscard |
Encode one indexed payload without relying on native object layout or byte order.
Emit one numerical value through the selected representation.
|
nodiscard |
Capture provenance once at the beginning of a write.
|
inlinenodiscard |
Archives written before companions existed have no companion field; a single star stays one.
|
nodiscard |
Restrict field names so path separators and line breaks cannot corrupt the ledger.
|
nodiscard |
Scalar types have one value; numerical arrays and strings carry their explicit extent.
|
inline |
Record the companion only when there is one, so single-star archives keep their schema.
|
inlineconstexpr |