SpectMorph
Public Member Functions | Protected Member Functions | List of all members
SpectMorph::OutFile Class Reference

Public Member Functions

 OutFile (const std::string &filename, const std::string &file_type, int file_version)
 
 OutFile (GenericOut *outfile, const std::string &file_type, int file_version)
 
bool open_ok ()
 
void begin_section (const std::string &s)
 
void end_section ()
 
void write_bool (const std::string &s, bool b)
 
void write_int (const std::string &s, int i)
 
void write_string (const std::string &s, const std::string &data)
 
void write_float (const std::string &s, double f)
 
void write_float_block (const std::string &s, const std::vector< float > &fb)
 
void write_uint16_block (const std::string &s, const std::vector< uint16_t > &ib)
 
void write_blob (const std::string &s, const void *data, size_t size)
 

Protected Member Functions

void write_raw_string (const std::string &s)
 
void write_raw_int (int i)
 
void write_file_type_and_version (const std::string &file_type, int file_version)
 

The documentation for this class was generated from the following files: