Go to the documentation of this file.
36 template<
typename T>
void
69 ReadXML (v, v_name, f, f_name, verbosity);
74 template<
typename T>
void
92 if (file_format ==
"ascii")
94 else if (file_format ==
"zascii")
96 else if (file_format ==
"binary")
99 throw runtime_error (
"file_format contains illegal string. "
100 "Valid values are:\n"
101 " ascii: XML output\n"
102 " zascii: Zipped XML output\n"
103 " binary: XML + binary output");
113 const String& file_format,
122 WriteXML (file_format, v, f, v_name, f_name, verbosity);
127 template<
typename T>
void
129 const String& file_format,
130 const Index& file_index,
144 WriteXML( file_format, v, filename, v_name, f_name, verbosity );
152 const String& file_format,
153 const Index& file_index,
162 WriteXMLIndexed (file_format, file_index, v, f, v_name, f_name, verbosity);
172 file_format =
"ascii";
182 file_format =
"zascii";
192 file_format =
"binary";
void WriteXML(const String &file_format, const T &v, const String &f, const String &v_name, const String &f_name, const Verbosity &verbosity)
WORKSPACE METHOD: WriteXML.
void output_file_formatSetBinary(String &file_format, const Verbosity &)
WORKSPACE METHOD: output_file_formatSetBinary.
The declarations of all the exception classes.
void WriteXMLIndexed(const String &file_format, const Index &file_index, const T &v, const String &f, const String &v_name, const String &f_name, const Verbosity &verbosity)
WORKSPACE METHOD: WriteXMLIndexed.
void filename_xml_with_index(String &filename, const Index &file_index, const String &varname)
Gives the default filename, with file index, for the XML formats.
void ReadXML(T &v, const String &v_name, const String &f, const String &f_name, const Verbosity &verbosity)
WORKSPACE METHOD: ReadXML.
Declarations for agendas.
void xml_read_from_file(const String &filename, T &type, const Verbosity &verbosity)
Reads data from XML file.
The implementation for String, the ARTS string class.
void output_file_formatSetZippedAscii(String &file_format, const Verbosity &)
WORKSPACE METHOD: output_file_formatSetZippedAscii.
void output_file_formatSetAscii(String &file_format, const Verbosity &)
WORKSPACE METHOD: output_file_formatSetAscii.
This file contains the declaration and partly the implementation of the workspace class.
void xml_write_to_file(const String &filename, const T &type, const FileType ftype, const Verbosity &verbosity)
Write data to XML file.
INDEX Index
The type to use for all integer numbers and indices.
void filename_xml(String &filename, const String &varname)
Gives the default filename for the XML formats.
This file contains basic functions to handle XML data files.