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