3 #ifndef SPECTMORPH_OUT_FILE_HH 4 #define SPECTMORPH_OUT_FILE_HH 10 #include "smgenericout.hh" 19 std::set<std::string> stored_blobs;
22 void write_raw_string (
const std::string& s);
23 void write_raw_int (
int i);
24 void write_file_type_and_version (
const std::string& file_type,
int file_version);
27 OutFile (
const std::string& filename,
const std::string& file_type,
int file_version);
37 void begin_section (
const std::string& s);
40 void write_bool (
const std::string& s,
bool b);
41 void write_int (
const std::string& s,
int i);
42 void write_string (
const std::string& s,
const std::string& data);
43 void write_float (
const std::string& s,
double f);
44 void write_float_block (
const std::string& s,
const std::vector<float>& fb);
45 void write_uint16_block (
const std::string& s,
const std::vector<uint16_t>& ib);
46 void write_blob (
const std::string& s,
const void *data,
size_t size);
Definition: smoutfile.hh:15
Definition: smalignedarray.cc:7
Generic Output Stream.
Definition: smgenericout.hh:17