3 #ifndef SPECTMORPH_OUT_FILE_HH
4 #define SPECTMORPH_OUT_FILE_HH
11 #include "smgenericout.hh"
16 class MorphOperatorPtr;
22 std::set<std::string> stored_blobs;
25 void write_raw_string (
const std::string& s);
26 void write_raw_int (
int i);
27 void write_file_type_and_version (
const std::string& file_type,
int file_version);
30 OutFile (
const std::string& filename,
const std::string& file_type,
int file_version);
40 void begin_section (
const std::string& s);
43 void write_bool (
const std::string& s,
bool b);
44 void write_int (
const std::string& s,
int i);
45 void write_string (
const std::string& s,
const std::string& data);
46 void write_float (
const std::string& s,
double f);
47 void write_float_block (
const std::string& s,
const std::vector<float>& fb);
48 void write_uint16_block (
const std::string& s,
const std::vector<uint16_t>& ib);
49 void write_blob (
const std::string& s,
const void *data,
size_t size);
Generic Output Stream.
Definition: smgenericout.hh:18
Definition: smmorphoperator.hh:147
Definition: smoutfile.hh:19