#include <genesis/placement/formats/serializer.hpp>
|
static Sample | load (std::string const &file_name) |
| Loads a Sample from a binary file that was written by using save(). More...
|
|
static SampleSet | load (std::vector< std::string > const &file_names) |
|
static void | load (std::vector< std::string > const &file_names, SampleSet &sample_set) |
|
static void | save (Sample const &map, std::string const &file_name) |
| Saves the Sample to a binary file that can later be read by using load(). More...
|
|
|
static unsigned char | version = 1 |
| Version of this serialization helper. Is written to the stream and read again to make sure that different versions don't crash inexpectedly. More...
|
|
◆ load() [1/3]
Sample load |
( |
std::string const & |
file_name | ) |
|
|
static |
◆ load() [2/3]
SampleSet load |
( |
std::vector< std::string > const & |
file_names | ) |
|
|
static |
◆ load() [3/3]
void load |
( |
std::vector< std::string > const & |
file_names, |
|
|
SampleSet & |
sample_set |
|
) |
| |
|
static |
◆ save()
void save |
( |
Sample const & |
map, |
|
|
std::string const & |
file_name |
|
) |
| |
|
static |
◆ version
unsigned char version = 1 |
|
static |
Version of this serialization helper. Is written to the stream and read again to make sure that different versions don't crash inexpectedly.
Definition at line 64 of file placement/formats/serializer.hpp.
The documentation for this class was generated from the following files: