void open_output_file(ofstream &file, const String &name)
Open a file for writing.
void binfile_write_vector(const String &filename, const int &fid, const Vector &x, const String &dataname)
void replace_all(String &s, const String &what, const String &with)
Replace all occurances of ‘what’ in ‘s’ with ‘with’.
Declarations required for the calculation of absorption coefficients.
void binfile_write_Stringarray(const String &filename, const int &fid, const ArrayOfString &x, const String &dataname)
void write_array_of_matrix_to_stream(ostream &os, const ArrayOfMatrix &am)
A helper function that writes an array of matrix to a stream.
void write_array_of_matrix_to_file(const String &filename, const ArrayOfMatrix &am)
A helper function that writes an array of matrix to a file.
void binfile_write_vectorarray(const String &filename, const int &fid, const ArrayOfVector &x, const String &dataname)
void binfile_write_indexarray(const String &filename, const int &fid, const ArrayOfIndex &x, const String &dataname)
void binfile_write_matrixarray(const String &filename, const int &fid, const ArrayOfMatrix &x, const String &dataname)
void write_array_of_String_to_file(const String &filename, const ArrayOfString &as)
A help function that writes an array of String to a file.
void binfile_close(int &fid, const String &filename)
void binfile_read_matrixarray(ArrayOfMatrix &x, const String &filename, const int &fid, const String &dataname)
void binfile_read_String(String &x, const String &filename, const int &fid, const String &dataname)
void write_array_of_String_to_stream(ostream &os, const ArrayOfString &as)
A helper function that writes an array of String to a stream.
void binfile_read_index(Index &x, const String &filename, const int &fid, const String &dataname)
void binfile_read_matrix(Matrix &x, const String &filename, const int &fid, const String &dataname)
void filename_bin(String &filename, const String &varname)
void read_array_of_String_from_stream(ArrayOfString &as, istream &is)
A help function to read an array of String from a stream.
void read_text_from_stream(ArrayOfString &text, istream &is)
Read an ASCII stream and append the contents to the String array text.
void open_input_file(ifstream &file, const String &name)
Open a file for reading.
void binfile_write_numeric(const String &filename, const int &fid, const Numeric &x, const String &dataname)
void binfile_read_Stringarray(ArrayOfString &x, const String &filename, const int &fid, const String &dataname)
NUMERIC Numeric
The type to use for all floating point numbers.
void binfile_write_matrix(const String &filename, const int &fid, const Matrix &x, const String &dataname)
void binfile_read_numeric(Numeric &x, const String &filename, const int &fid, const String &dataname)
void read_text_from_file(ArrayOfString &text, const String &name)
Reads an ASCII file and appends the contents to the String vector text.
void binfile_write_index(const String &filename, const int &fid, const Index &x, const String &dataname)
void write_tag_groups_species_to_file(const String &filename, const TagGroups &tgs)
A help function that writes an array of String to a file.
void binfile_read_vector(Vector &x, const String &filename, const int &fid, const String &dataname)
void binfile_open_in(int &fid, const String &filename)
void binfile_write_String(const String &filename, const int &fid, const String &s, const String &dataname)
void binfile_read_vectorarray(ArrayOfVector &x, const String &filename, const int &fid, const String &dataname)
INDEX Index
The type to use for all integer numbers and indices.
void read_array_of_matrix_from_stream(ArrayOfMatrix &am, istream &is)
A helper function that reads an array of matrix from a stream.
void binfile_read_indexarray(ArrayOfIndex &x, const String &filename, const int &fid, const String &dataname)
void write_tag_groups_species_to_stream(ostream &os, const TagGroups &tgs)
A helper function that writes an array of String to a stream.
void filename_ascii(String &filename, const String &varname)
Gives the default file name for the ASCII formats.
This file contains the definition of String, the ARTS string class.
void binfile_open_out(int &fid, const String &filename)
void read_array_of_matrix_from_file(ArrayOfMatrix &am, const String &filename)
A helper function that reads an array of matrix from a file.
void read_array_of_String_from_file(ArrayOfString &as, const String &filename)
A help function to read an array of String from a file.