#include <snapshot_suites.hpp>
Definition at line 9 of file snapshot_suites.hpp.
◆ reader_t
◆ snapshot_t
◆ write_storage_t
◆ writer_t
◆ finalize()
static auto variant_snapshot_suite::finalize |
( |
const std::shared_ptr< writer > & | w | ) |
|
|
inlinestatic |
◆ get_reader()
static auto variant_snapshot_suite::get_reader |
( |
const snapshot_t & | buffer | ) |
|
|
inlinestatic |
◆ get_writer()
static auto variant_snapshot_suite::get_writer |
( |
| ) |
|
|
inlinestatic |
Definition at line 33 of file snapshot_suites.hpp.
33 {
34 return std::make_shared<writer>(std::make_shared<write_storage_t>());
35 }
◆ load_from_file()
static snapshot_t variant_snapshot_suite::load_from_file |
( |
const std::string & | filename | ) |
|
|
inlinestatic |
Definition at line 46 of file snapshot_suites.hpp.
46 {
47 snapshot_input_file<snapshot::json> file(filename);
48 return file.read();
49 }
◆ write_to_file()
static void variant_snapshot_suite::write_to_file |
( |
const std::string & | basename, |
|
|
const snapshot_t & | snapshot ) |
|
inlinestatic |
Definition at line 51 of file snapshot_suites.hpp.
51 {
52 snapshot_output_file<snapshot::json> file(basename);
54 }
The documentation for this struct was generated from the following file: