117 const Index& file_index,
119 const Index& digits = 0);
139 String xml_file = filename;
158 const Index no_clobber,
164 std::unique_ptr<ostream> ofs;
The global header file for ARTS.
void add_attribute(const String &aname, const std::vector< QuantumNumberType > &value)
Adds value of attribute as type std::vector<QuantumNumberType> to tag.
void get_attribute_value(const String &aname, SpeciesTag &value)
Returns value of attribute as type SpeciesTag.
ArtsXMLTag(const Verbosity &rverbosity)
void add_attribute(const String &aname, String value)
void get_attribute_value(const String &aname, String &value)
Binary output file stream class.
String add_basedir(const std::string_view path)
void find_xml_file(String &filename, const Verbosity &verbosity)
Find an xml file.
String make_filename_unique(const std::string_view filename, const String &extension)
Make filename unique.
void xml_write_to_file(const String &filename, const T &type, const FileType ftype, const Index no_clobber, const Verbosity &verbosity)
Write data to XML file.
void xml_find_and_open_input_file(std::shared_ptr< istream > &ifs, const String &filename, const Verbosity &verbosity)
Open plain or zipped xml file.
void xml_read_from_file(const String &filename, T &type, const Verbosity &verbosity)
Reads data from XML file.
void filename_xml(String &filename, const String &varname)
Gives the default filename for the XML formats.
void filename_xml_with_index(String &filename, const Index &file_index, const String &varname, const Index &digits=0)
Gives the default filename, with file index, for the XML formats.
void xml_parse_from_stream(istream &, Vector &, bifstream *, ArtsXMLTag &, const Verbosity &verbosity)
This file contains private function declarations and template instantiation to handle XML data files.
void xml_write_to_file_base(const String &filename, const T &type, const FileType ftype, const Verbosity &verbosity)
Write data to XML file.
void xml_read_from_file_base(const String &filename, T &type, const Verbosity &verbosity)
Reads data from XML file.