Go to the documentation of this file.
31 #ifndef xml_io_private_h
32 #define xml_io_private_h
ArtsXMLTag(const Verbosity &rverbosity)
const Verbosity & verbosity
Container class for Quantum Numbers.
void check_name(const String &expected_name)
Check tag name.
Declarations required for the calculation of absorption coefficients.
void xml_set_stream_precision(ostream &os)
void xml_open_input_file(ifstream &file, const String &name, const Verbosity &verbosity)
Open file for XML input.
Verbosity verbosity(Workspace &ws) noexcept
void xml_read_header_from_stream(istream &is, FileType &ftype, NumericType &ntype, EndianType &etype, const Verbosity &verbosity)
Reads XML header and root tag.
void get_attribute_value(const String &aname, String &value)
Returns value of attribute as String.
void check_attribute(const String &aname, const String &value)
Checks whether attribute has the expected value.
This file contains the definition of Array.
void write_to_stream(ostream &os)
Write XML tag.
void xml_data_parse_error(ArtsXMLTag &tag, String str_error)
Throws XML parser runtime error.
This can be used to make arrays out of anything.
A tag group can consist of the sum of several of these.
Array< XMLAttribute > attribs
Declarations for agendas.
Declarations having to do with the four output streams.
void xml_write_header_to_stream(ostream &os, FileType ftype, const Verbosity &verbosity)
Writes XML header and root tag.
void read_from_stream(istream &is)
Reads next XML tag.
Scattering database structure and functions.
void xml_read_footer_from_stream(istream &is, const Verbosity &verbosity)
Reads closing root tag.
NUMERIC Numeric
The type to use for all floating point numbers.
void add_attribute(const String &aname, const String &value)
Adds a String attribute to tag.
void xml_find_and_open_input_file(std::shared_ptr< istream > &ifs, const String &filename, const Verbosity &verbosity)
Open plain or zipped xml file.
This file contains the class declaration of bifstream.
This file contains the class declaration of bofstream.
void xml_parse_error(const String &str_error)
Throws XML parser runtime error.
Propagation path structure and functions.
void xml_write_footer_to_stream(ostream &os, const Verbosity &verbosity)
Write closing root tag.
void xml_open_output_file(ostream &file, const String &name)
INDEX Index
The type to use for all integer numbers and indices.
void set_name(const String &new_name)
void parse_xml_tag_content_as_string(std::istream &is_xml, String &content)
Get the content of an xml tag as a string.
Declarations for the gas absorption lookup table.
This file contains basic functions to handle XML data files.