SERiF v0.0.1a
Stellar Evolution and Rotation in Four Dimensions
Loading...
Searching...
No Matches
archive.cpp File Reference
#include "serif/utils/serialize/archive.hpp"
#include <algorithm>
#include <atomic>
#include <charconv>
#include <chrono>
#include <cstdio>
#include <iomanip>
#include <limits>
#include <locale>
#include <set>
#include <sstream>
#include <system_error>
#include "serif/config.hpp"
#include "format.hpp"
Include dependency graph for archive.cpp:

Namespaces

namespace  serif
 
namespace  serif::utils
 
namespace  serif::utils::serialize
 

Functions

void serif::utils::serialize::add_component (Pack &pack, Field component)
 Insert a component while rejecting conflicting definitions of the same named object.
 
Result< void > serif::utils::serialize::write (const std::filesystem::path &path, const Pack &contents, const WriteOptions &options={})
 Write a complete temporary file and atomically replace the destination only after it closes successfully.