![]() |
OpenSWMM Engine
6.0.0-alpha.4
Data-oriented, plugin-extensible SWMM Engine (6.0.0-alpha.4)
|
Versioned checkpoint file serialization and integrity checks. More...
#include "CheckpointFile.hpp"#include "CheckpointOutputPublication.hpp"#include "../core/CompletedSourceArchive.hpp"#include "../core/FileIO.hpp"#include <algorithm>#include <array>#include <atomic>#include <limits>#include <stdexcept>#include <unistd.h>Namespaces | |
| namespace | openswmm |
| namespace | openswmm::io |
Functions | |
| uint64_t | openswmm::io::checkpointFileSize (const std::filesystem::path &path) |
| Read a checkpoint companion's validated size. | |
| void | openswmm::io::checkpointSeek (FILE *f, uint64_t offset) |
| Position an existing stream at an absolute checkpoint byte offset. | |
| std::shared_ptr< OwnedCheckpointFile > | openswmm::io::copyCheckpointFile (const std::filesystem::path &source, uint64_t bytes, const std::filesystem::path &staging_base, int source_descriptor=-1) |
| Copy and verify an exact source prefix into a private companion file. | |
Versioned checkpoint file serialization and integrity checks.