|
ARTS
2.4.0(git:4fb77825)
|
This file contains basic functions to handle XML data files. More...
#include "arts.h"#include "file.h"#include "xml_io.h"#include "xml_io_private.h"#include "xml_io_types.h"Go to the source code of this file.
Functions | |
| void | xml_read_from_stream (istream &is_xml, Index &index, bifstream *pbifs, const Verbosity &verbosity) |
| Reads Index from XML input stream. More... | |
| void | xml_write_to_stream (ostream &os_xml, const Index &index, bofstream *pbofs, const String &name, const Verbosity &verbosity) |
| Writes Index to XML output stream. More... | |
| void | xml_read_from_stream (istream &is_xml, Matrix &matrix, bifstream *pbifs, const Verbosity &verbosity) |
| Reads Matrix from XML input stream. More... | |
| void | xml_write_to_stream (ostream &os_xml, const Matrix &matrix, bofstream *pbofs, const String &name, const Verbosity &verbosity) |
| Writes Matrix to XML output stream. More... | |
| void | xml_read_from_stream (istream &is_xml, Numeric &numeric, bifstream *pbifs, const Verbosity &verbosity) |
| Reads Numeric from XML input stream. More... | |
| void | xml_write_to_stream (ostream &os_xml, const Numeric &numeric, bofstream *pbofs, const String &name, const Verbosity &verbosity) |
| Writes Numeric to XML output stream. More... | |
| void | xml_read_from_stream (istream &is_xml, Rational &rational, bifstream *pbifs, const Verbosity &verbosity) |
| Reads Rational from XML input stream. More... | |
| void | xml_write_to_stream (ostream &os_xml, const Rational &rational, bofstream *pbofs, const String &name, const Verbosity &verbosity) |
| Writes Rational to XML output stream. More... | |
| void | xml_read_from_stream (istream &is_xml, Sparse &sparse, bifstream *pbifs, const Verbosity &verbosity) |
| Reads Sparse from XML input stream. More... | |
| void | xml_write_to_stream (ostream &os_xml, const Sparse &sparse, bofstream *pbofs, const String &name, const Verbosity &verbosity) |
| Writes Sparse to XML output stream. More... | |
| void | xml_read_from_stream (istream &is_xml, String &str, bifstream *, const Verbosity &verbosity) |
| Reads String from XML input stream. More... | |
| void | xml_write_to_stream (ostream &os_xml, const String &str, bofstream *, const String &name, const Verbosity &verbosity) |
| Writes String to XML output stream. More... | |
| void | xml_read_from_stream (istream &is_xml, Tensor3 &tensor, bifstream *pbifs, const Verbosity &verbosity) |
| Reads Tensor3 from XML input stream. More... | |
| void | xml_write_to_stream (ostream &os_xml, const Tensor3 &tensor, bofstream *pbofs, const String &name, const Verbosity &verbosity) |
| Writes Tensor3 to XML output stream. More... | |
| void | xml_read_from_stream (istream &is_xml, Tensor4 &tensor, bifstream *pbifs, const Verbosity &verbosity) |
| Reads Tensor4 from XML input stream. More... | |
| void | xml_write_to_stream (ostream &os_xml, const Tensor4 &tensor, bofstream *pbofs, const String &name, const Verbosity &verbosity) |
| Writes Tensor4 to XML output stream. More... | |
| void | xml_read_from_stream (istream &is_xml, Tensor5 &tensor, bifstream *pbifs, const Verbosity &verbosity) |
| Reads Tensor5 from XML input stream. More... | |
| void | xml_write_to_stream (ostream &os_xml, const Tensor5 &tensor, bofstream *pbofs, const String &name, const Verbosity &verbosity) |
| Writes Tensor5 to XML output stream. More... | |
| void | xml_read_from_stream (istream &is_xml, Tensor6 &tensor, bifstream *pbifs, const Verbosity &verbosity) |
| Reads Tensor6 from XML input stream. More... | |
| void | xml_write_to_stream (ostream &os_xml, const Tensor6 &tensor, bofstream *pbofs, const String &name, const Verbosity &verbosity) |
| Writes Tensor6 to XML output stream. More... | |
| void | xml_read_from_stream (istream &is_xml, Tensor7 &tensor, bifstream *pbifs, const Verbosity &verbosity) |
| Reads Tensor7 from XML input stream. More... | |
| void | xml_write_to_stream (ostream &os_xml, const Tensor7 &tensor, bofstream *pbofs, const String &name, const Verbosity &verbosity) |
| Writes Tensor7 to XML output stream. More... | |
| void | xml_parse_from_stream (istream &is_xml, Vector &vector, bifstream *pbifs, ArtsXMLTag &tag, const Verbosity &) |
| Parses Vector from XML input stream. More... | |
| void | xml_read_from_stream (istream &is_xml, Vector &vector, bifstream *pbifs, const Verbosity &verbosity) |
| Reads Vector from XML input stream. More... | |
| void | xml_write_to_stream (ostream &os_xml, const Vector &vector, bofstream *pbofs, const String &name, const Verbosity &verbosity) |
| Writes Vector to XML output stream. More... | |
| void | xml_read_from_stream (istream &is_xml, TransmissionMatrix &tm, bifstream *pbifs, const Verbosity &verbosity) |
| Reads TransmissionMatrix from XML input stream. More... | |
| void | xml_write_to_stream (ostream &os_xml, const TransmissionMatrix &tm, bofstream *pbofs, const String &name, const Verbosity &verbosity) |
| Writes RadiationVector to XML output stream. More... | |
| void | xml_read_from_stream (istream &is_xml, RadiationVector &rv, bifstream *pbifs, const Verbosity &verbosity) |
| Reads RadiationVector from XML input stream. More... | |
| void | xml_write_to_stream (ostream &os_xml, const RadiationVector &rv, bofstream *pbofs, const String &name, const Verbosity &verbosity) |
| Writes RadiationVector to XML output stream. More... | |
| void | xml_read_from_stream (istream &is_xml, Time &t, bifstream *pbifs, const Verbosity &verbosity) |
| Reads Time from XML input stream. More... | |
| void | xml_write_to_stream (ostream &os_xml, const Time &t, bofstream *pbofs, const String &, const Verbosity &verbosity) |
| Writes Time to XML output stream. More... | |
| void | xml_read_from_stream (istream &is_xml, AbsorptionLines &al, bifstream *pbifs, const Verbosity &verbosity) |
| Reads AbsorptionLines from XML input stream. More... | |
| void | xml_write_to_stream (ostream &os_xml, const AbsorptionLines &al, bofstream *pbofs, const String &, const Verbosity &verbosity) |
| Writes AbsorptionLines to XML output stream. More... | |
| void | xml_read_from_stream (istream &, Timer &, bifstream *, const Verbosity &) |
| void | xml_write_to_stream (ostream &, const Timer &, bofstream *, const String &, const Verbosity &) |
This file contains basic functions to handle XML data files.
Definition in file xml_io_basic_types.cc.
| void xml_parse_from_stream | ( | istream & | is_xml, |
| Vector & | vector, | ||
| bifstream * | pbifs, | ||
| ArtsXMLTag & | tag, | ||
| const Verbosity & | |||
| ) |
Parses Vector from XML input stream.
| is_xml | XML Input stream |
| vector | Vector return value |
| pbifs | Pointer to binary input stream. NULL in case of ASCII file. |
| tag | XML tag object |
Definition at line 1204 of file xml_io_basic_types.cc.
References ArtsXMLTag::get_attribute_value(), Absorption::nelem(), Vector::resize(), and xml_data_parse_error().
Referenced by xml_read_from_stream().
Definition at line 1689 of file xml_io_basic_types.cc.
| void xml_read_from_stream | ( | istream & | is_xml, |
| AbsorptionLines & | al, | ||
| bifstream * | pbifs, | ||
| const Verbosity & | verbosity | ||
| ) |
Reads AbsorptionLines from XML input stream.
| is_xml | XML Input stream |
| al | AbsorptionLines return value |
| pbifs | Pointer to binary input stream. NULL in case of ASCII file. |
Reference temperature for all parameters of the lines
cutoff frequency
linemixing limit
List of local quantum numbers, these must be defined
Catalog ID
A list of broadening species
Definition at line 1524 of file xml_io_basic_types.cc.
References ArtsXMLTag::check_name(), ArtsXMLTag::get_attribute_value(), nlines, ArtsXMLTag::read_from_stream(), Absorption::string2cutofftype(), Absorption::string2mirroringtype(), Absorption::string2normalizationtype(), Absorption::string2populationtype(), LineShape::string2shapetype(), and ARTS::Var::verbosity().
| void xml_read_from_stream | ( | istream & | is_xml, |
| Index & | index, | ||
| bifstream * | pbifs, | ||
| const Verbosity & | verbosity | ||
| ) |
Reads Index from XML input stream.
| is_xml | XML Input stream |
| index | Index return value |
| pbifs | Pointer to binary input stream. NULL in case of ASCII file. |
Definition at line 48 of file xml_io_basic_types.cc.
References ArtsXMLTag::check_name(), ArtsXMLTag::read_from_stream(), ARTS::Var::verbosity(), and xml_data_parse_error().
| void xml_read_from_stream | ( | istream & | is_xml, |
| Matrix & | matrix, | ||
| bifstream * | pbifs, | ||
| const Verbosity & | verbosity | ||
| ) |
Reads Matrix from XML input stream.
| is_xml | XML Input stream |
| matrix | Matrix return value |
| pbifs | Pointer to binary input stream. NULL in case of ASCII file. |
Definition at line 111 of file xml_io_basic_types.cc.
References ArtsXMLTag::check_name(), ArtsXMLTag::get_attribute_value(), ARTS::Var::ncols(), ARTS::Var::nrows(), ArtsXMLTag::read_from_stream(), Matrix::resize(), and ARTS::Var::verbosity().
| void xml_read_from_stream | ( | istream & | is_xml, |
| Numeric & | numeric, | ||
| bifstream * | pbifs, | ||
| const Verbosity & | verbosity | ||
| ) |
Reads Numeric from XML input stream.
| is_xml | XML Input stream |
| numeric | Numeric return value |
| pbifs | Pointer to binary input stream. NULL in case of ASCII file. |
Definition at line 207 of file xml_io_basic_types.cc.
References ArtsXMLTag::check_name(), ArtsXMLTag::read_from_stream(), ARTS::Var::verbosity(), and xml_data_parse_error().
| void xml_read_from_stream | ( | istream & | is_xml, |
| RadiationVector & | rv, | ||
| bifstream * | pbifs, | ||
| const Verbosity & | verbosity | ||
| ) |
Reads RadiationVector from XML input stream.
| is_xml | XML Input stream |
| rv | RadiationVector return value |
| pbifs | Pointer to binary input stream. NULL in case of ASCII file. |
Definition at line 1381 of file xml_io_basic_types.cc.
References ArtsXMLTag::check_name(), ArtsXMLTag::get_attribute_value(), ArtsXMLTag::read_from_stream(), ARTS::Var::stokes_dim(), ARTS::Var::verbosity(), and xml_data_parse_error().
| void xml_read_from_stream | ( | istream & | is_xml, |
| Rational & | rational, | ||
| bifstream * | pbifs, | ||
| const Verbosity & | verbosity | ||
| ) |
Reads Rational from XML input stream.
| is_xml | XML Input stream |
| rational | Rational return value |
| pbifs | Pointer to binary input stream. NULL in case of ASCII file. |
Definition at line 272 of file xml_io_basic_types.cc.
References ArtsXMLTag::check_name(), ArtsXMLTag::read_from_stream(), ARTS::Var::verbosity(), and xml_data_parse_error().
| void xml_read_from_stream | ( | istream & | is_xml, |
| Sparse & | sparse, | ||
| bifstream * | pbifs, | ||
| const Verbosity & | verbosity | ||
| ) |
Reads Sparse from XML input stream.
| is_xml | XML Input stream |
| sparse | Sparse return value |
| pbifs | Pointer to binary input stream, NULL in case of ASCII file. |
Definition at line 335 of file xml_io_basic_types.cc.
References ArtsXMLTag::check_name(), data, ArtsXMLTag::get_attribute_value(), Sparse::insert_elements(), ARTS::Var::ncols(), ARTS::Var::nrows(), ArtsXMLTag::read_from_stream(), Sparse::resize(), ARTS::Var::verbosity(), and xml_data_parse_error().
| void xml_read_from_stream | ( | istream & | is_xml, |
| String & | str, | ||
| bifstream * | , | ||
| const Verbosity & | verbosity | ||
| ) |
Reads String from XML input stream.
| is_xml | XML Input stream |
| str | String return value |
Definition at line 537 of file xml_io_basic_types.cc.
References ArtsXMLTag::check_name(), ArtsXMLTag::read_from_stream(), ARTS::Var::verbosity(), and xml_parse_error().
| void xml_read_from_stream | ( | istream & | is_xml, |
| Tensor3 & | tensor, | ||
| bifstream * | pbifs, | ||
| const Verbosity & | verbosity | ||
| ) |
Reads Tensor3 from XML input stream.
| is_xml | XML Input stream |
| tensor | Tensor return value |
| pbifs | Pointer to binary input stream. NULL in case of ASCII file. |
Definition at line 625 of file xml_io_basic_types.cc.
References ArtsXMLTag::check_name(), ArtsXMLTag::get_attribute_value(), ARTS::Var::ncols(), ARTS::Var::npages(), ARTS::Var::nrows(), ArtsXMLTag::read_from_stream(), Tensor3::resize(), and ARTS::Var::verbosity().
| void xml_read_from_stream | ( | istream & | is_xml, |
| Tensor4 & | tensor, | ||
| bifstream * | pbifs, | ||
| const Verbosity & | verbosity | ||
| ) |
Reads Tensor4 from XML input stream.
| is_xml | XML Input stream |
| tensor | Tensor return value |
| pbifs | Pointer to binary input stream. NULL in case of ASCII file. |
Definition at line 727 of file xml_io_basic_types.cc.
References ArtsXMLTag::check_name(), ArtsXMLTag::get_attribute_value(), ARTS::Var::nbooks(), ARTS::Var::ncols(), ARTS::Var::npages(), ARTS::Var::nrows(), ArtsXMLTag::read_from_stream(), Tensor4::resize(), and ARTS::Var::verbosity().
| void xml_read_from_stream | ( | istream & | is_xml, |
| Tensor5 & | tensor, | ||
| bifstream * | pbifs, | ||
| const Verbosity & | verbosity | ||
| ) |
Reads Tensor5 from XML input stream.
| is_xml | XML Input stream |
| tensor | Tensor return value |
| pbifs | Pointer to binary input stream. NULL in case of ASCII file. |
Definition at line 835 of file xml_io_basic_types.cc.
References ArtsXMLTag::check_name(), ArtsXMLTag::get_attribute_value(), ARTS::Var::nbooks(), ARTS::Var::ncols(), ARTS::Var::npages(), ARTS::Var::nrows(), ARTS::Var::nshelves(), ArtsXMLTag::read_from_stream(), Tensor5::resize(), and ARTS::Var::verbosity().
| void xml_read_from_stream | ( | istream & | is_xml, |
| Tensor6 & | tensor, | ||
| bifstream * | pbifs, | ||
| const Verbosity & | verbosity | ||
| ) |
Reads Tensor6 from XML input stream.
| is_xml | XML Input stream |
| tensor | Tensor return value |
| pbifs | Pointer to binary input stream. NULL in case of ASCII file. |
Definition at line 951 of file xml_io_basic_types.cc.
References ArtsXMLTag::check_name(), ArtsXMLTag::get_attribute_value(), ARTS::Var::nbooks(), ARTS::Var::ncols(), ARTS::Var::npages(), ARTS::Var::nrows(), ARTS::Var::nshelves(), ARTS::Var::nvitrines(), ArtsXMLTag::read_from_stream(), Tensor6::resize(), and ARTS::Var::verbosity().
| void xml_read_from_stream | ( | istream & | is_xml, |
| Tensor7 & | tensor, | ||
| bifstream * | pbifs, | ||
| const Verbosity & | verbosity | ||
| ) |
Reads Tensor7 from XML input stream.
| is_xml | XML Input stream |
| tensor | Tensor return value |
| pbifs | Pointer to binary input stream. NULL in case of ASCII file. |
Definition at line 1073 of file xml_io_basic_types.cc.
References ArtsXMLTag::check_name(), ArtsXMLTag::get_attribute_value(), ARTS::Var::nbooks(), ARTS::Var::ncols(), ARTS::Var::nlibraries(), ARTS::Var::npages(), ARTS::Var::nrows(), ARTS::Var::nshelves(), ARTS::Var::nvitrines(), ArtsXMLTag::read_from_stream(), Tensor7::resize(), and ARTS::Var::verbosity().
| void xml_read_from_stream | ( | istream & | is_xml, |
| Time & | t, | ||
| bifstream * | pbifs, | ||
| const Verbosity & | verbosity | ||
| ) |
Reads Time from XML input stream.
| is_xml | XML Input stream |
| t | Time return value |
| pbifs | Pointer to binary input stream. NULL in case of ASCII file. |
Definition at line 1457 of file xml_io_basic_types.cc.
References ArtsXMLTag::check_name(), ArtsXMLTag::get_attribute_value(), ArtsXMLTag::read_from_stream(), ARTS::Var::verbosity(), and xml_data_parse_error().
| void xml_read_from_stream | ( | istream & | is_xml, |
| TransmissionMatrix & | tm, | ||
| bifstream * | pbifs, | ||
| const Verbosity & | verbosity | ||
| ) |
Reads TransmissionMatrix from XML input stream.
| is_xml | XML Input stream |
| tm | TransmissionMatrix return value |
| pbifs | Pointer to binary input stream. NULL in case of ASCII file. |
Definition at line 1305 of file xml_io_basic_types.cc.
References ArtsXMLTag::check_name(), ArtsXMLTag::get_attribute_value(), ArtsXMLTag::read_from_stream(), ARTS::Var::stokes_dim(), ARTS::Var::verbosity(), and xml_data_parse_error().
| void xml_read_from_stream | ( | istream & | is_xml, |
| Vector & | vector, | ||
| bifstream * | pbifs, | ||
| const Verbosity & | verbosity | ||
| ) |
Reads Vector from XML input stream.
| is_xml | XML Input stream |
| vector | Vector return value |
| pbifs | Pointer to binary input stream. NULL in case of ASCII file. |
Definition at line 1241 of file xml_io_basic_types.cc.
References ArtsXMLTag::check_name(), ArtsXMLTag::read_from_stream(), ARTS::Var::verbosity(), and xml_parse_from_stream().
| void xml_write_to_stream | ( | ostream & | , |
| const Timer & | , | ||
| bofstream * | , | ||
| const String & | , | ||
| const Verbosity & | |||
| ) |
Definition at line 1696 of file xml_io_basic_types.cc.
| void xml_write_to_stream | ( | ostream & | os_xml, |
| const AbsorptionLines & | al, | ||
| bofstream * | pbofs, | ||
| const String & | , | ||
| const Verbosity & | verbosity | ||
| ) |
Writes AbsorptionLines to XML output stream.
| os_xml | XML Output stream |
| al | AbsorptionLines |
| pbofs | Pointer to binary file stream. NULL for ASCII output. |
| name | Optional name attribute (ignored) |
Definition at line 1633 of file xml_io_basic_types.cc.
References ArtsXMLTag::add_attribute(), Absorption::Lines::Bath(), Absorption::Lines::BroadeningSpecies(), Absorption::Lines::Cutoff(), Absorption::Lines::CutoffFreqValue(), Absorption::cutofftype2string(), Absorption::Lines::LinemixingLimit(), Absorption::Lines::LineShapeMetaData(), Absorption::Lines::LineShapeType(), Absorption::Lines::LocalQuanta(), Absorption::Lines::LowerQuantumNumbers(), Absorption::Lines::MetaData(), Absorption::Lines::Mirroring(), Absorption::mirroringtype2string(), Absorption::Lines::Normalization(), Absorption::normalizationtype2string(), Absorption::Lines::NumLines(), Absorption::Lines::Population(), Absorption::populationtype2string(), Absorption::Lines::Self(), ArtsXMLTag::set_name(), LineShape::shapetype2string(), Absorption::Lines::SpeciesName(), Absorption::Lines::T0(), Absorption::Lines::UpperQuantumNumbers(), ARTS::Var::verbosity(), Absorption::Lines::write(), ArtsXMLTag::write_to_stream(), and xml_set_stream_precision().
| void xml_write_to_stream | ( | ostream & | os_xml, |
| const Index & | index, | ||
| bofstream * | pbofs, | ||
| const String & | name, | ||
| const Verbosity & | verbosity | ||
| ) |
Writes Index to XML output stream.
| os_xml | XML Output stream |
| index | Index value |
| pbofs | Pointer to binary file stream. NULL for ASCII output. |
| name | Optional name attribute |
Definition at line 80 of file xml_io_basic_types.cc.
References ArtsXMLTag::add_attribute(), ArtsXMLTag::set_name(), ARTS::Var::verbosity(), and ArtsXMLTag::write_to_stream().
| void xml_write_to_stream | ( | ostream & | os_xml, |
| const Matrix & | matrix, | ||
| bofstream * | pbofs, | ||
| const String & | name, | ||
| const Verbosity & | verbosity | ||
| ) |
Writes Matrix to XML output stream.
| os_xml | XML Output stream |
| matrix | Matrix |
| pbofs | Pointer to binary file stream. NULL for ASCII output. |
| name | Optional name attribute |
Definition at line 158 of file xml_io_basic_types.cc.
References ArtsXMLTag::add_attribute(), ConstMatrixView::ncols(), ConstMatrixView::nrows(), ArtsXMLTag::set_name(), ARTS::Var::verbosity(), ArtsXMLTag::write_to_stream(), and xml_set_stream_precision().
| void xml_write_to_stream | ( | ostream & | os_xml, |
| const Numeric & | numeric, | ||
| bofstream * | pbofs, | ||
| const String & | name, | ||
| const Verbosity & | verbosity | ||
| ) |
Writes Numeric to XML output stream.
| os_xml | XML Output stream |
| numeric | Numeric value |
| pbofs | Pointer to binary file stream. NULL for ASCII output. |
| name | Optional name attribute |
Definition at line 239 of file xml_io_basic_types.cc.
References ArtsXMLTag::add_attribute(), ArtsXMLTag::set_name(), ARTS::Var::verbosity(), ArtsXMLTag::write_to_stream(), and xml_set_stream_precision().
| void xml_write_to_stream | ( | ostream & | os_xml, |
| const RadiationVector & | rv, | ||
| bofstream * | pbofs, | ||
| const String & | name, | ||
| const Verbosity & | verbosity | ||
| ) |
Writes RadiationVector to XML output stream.
| os_xml | XML Output stream |
| rv | RadiationVector |
| pbofs | Pointer to binary file stream. NULL for ASCII output. |
| name | Optional name attribute |
Definition at line 1421 of file xml_io_basic_types.cc.
References ArtsXMLTag::add_attribute(), RadiationVector::Frequencies(), ArtsXMLTag::set_name(), RadiationVector::StokesDim(), ARTS::Var::verbosity(), ArtsXMLTag::write_to_stream(), and xml_set_stream_precision().
| void xml_write_to_stream | ( | ostream & | os_xml, |
| const Rational & | rational, | ||
| bofstream * | pbofs, | ||
| const String & | name, | ||
| const Verbosity & | verbosity | ||
| ) |
Writes Rational to XML output stream.
| os_xml | XML Output stream |
| rational | Rational value |
| pbofs | Pointer to binary file stream. NULL for ASCII output. |
| name | Optional name attribute |
Definition at line 304 of file xml_io_basic_types.cc.
References ArtsXMLTag::add_attribute(), ArtsXMLTag::set_name(), ARTS::Var::verbosity(), and ArtsXMLTag::write_to_stream().
| void xml_write_to_stream | ( | ostream & | os_xml, |
| const Sparse & | sparse, | ||
| bofstream * | pbofs, | ||
| const String & | name, | ||
| const Verbosity & | verbosity | ||
| ) |
Writes Sparse to XML output stream.
| os_xml | XML Output stream |
| sparse | Sparse |
| pbofs | Pointer to binary file stream. NULL for ASCII output. |
| name | Optional name attribute |
Definition at line 441 of file xml_io_basic_types.cc.
References ArtsXMLTag::add_attribute(), data, Sparse::list_elements(), Sparse::ncols(), Sparse::nnz(), Sparse::nrows(), ArtsXMLTag::set_name(), ARTS::Var::verbosity(), ArtsXMLTag::write_to_stream(), and xml_set_stream_precision().
| void xml_write_to_stream | ( | ostream & | os_xml, |
| const String & | str, | ||
| bofstream * | , | ||
| const String & | name, | ||
| const Verbosity & | verbosity | ||
| ) |
Writes String to XML output stream.
| os_xml | XML Output stream |
| str | String value |
| name | Optional name attribute |
Definition at line 597 of file xml_io_basic_types.cc.
References ArtsXMLTag::add_attribute(), ArtsXMLTag::set_name(), ARTS::Var::verbosity(), and ArtsXMLTag::write_to_stream().
| void xml_write_to_stream | ( | ostream & | os_xml, |
| const Tensor3 & | tensor, | ||
| bofstream * | pbofs, | ||
| const String & | name, | ||
| const Verbosity & | verbosity | ||
| ) |
Writes Tensor3 to XML output stream.
| os_xml | XML Output stream |
| tensor | Tensor |
| pbofs | Pointer to binary file stream. NULL for ASCII output. |
| name | Optional name attribute |
Definition at line 677 of file xml_io_basic_types.cc.
References ArtsXMLTag::add_attribute(), ConstTensor3View::ncols(), ConstTensor3View::npages(), ConstTensor3View::nrows(), ArtsXMLTag::set_name(), ARTS::Var::verbosity(), ArtsXMLTag::write_to_stream(), and xml_set_stream_precision().
| void xml_write_to_stream | ( | ostream & | os_xml, |
| const Tensor4 & | tensor, | ||
| bofstream * | pbofs, | ||
| const String & | name, | ||
| const Verbosity & | verbosity | ||
| ) |
Writes Tensor4 to XML output stream.
| os_xml | XML Output stream |
| tensor | Tensor |
| pbofs | Pointer to binary file stream. NULL for ASCII output. |
| name | Optional name attribute |
Definition at line 782 of file xml_io_basic_types.cc.
References ArtsXMLTag::add_attribute(), ConstTensor4View::nbooks(), ConstTensor4View::ncols(), ConstTensor4View::npages(), ConstTensor4View::nrows(), ArtsXMLTag::set_name(), ARTS::Var::verbosity(), ArtsXMLTag::write_to_stream(), and xml_set_stream_precision().
| void xml_write_to_stream | ( | ostream & | os_xml, |
| const Tensor5 & | tensor, | ||
| bofstream * | pbofs, | ||
| const String & | name, | ||
| const Verbosity & | verbosity | ||
| ) |
Writes Tensor5 to XML output stream.
| os_xml | XML Output stream |
| tensor | Tensor |
| pbofs | Pointer to binary file stream. NULL for ASCII output. |
| name | Optional name attribute |
Definition at line 895 of file xml_io_basic_types.cc.
References ArtsXMLTag::add_attribute(), ConstTensor5View::nbooks(), ConstTensor5View::ncols(), ConstTensor5View::npages(), ConstTensor5View::nrows(), ConstTensor5View::nshelves(), ArtsXMLTag::set_name(), ARTS::Var::verbosity(), ArtsXMLTag::write_to_stream(), and xml_set_stream_precision().
| void xml_write_to_stream | ( | ostream & | os_xml, |
| const Tensor6 & | tensor, | ||
| bofstream * | pbofs, | ||
| const String & | name, | ||
| const Verbosity & | verbosity | ||
| ) |
Writes Tensor6 to XML output stream.
| os_xml | XML Output stream |
| tensor | Tensor |
| pbofs | Pointer to binary file stream. NULL for ASCII output. |
| name | Optional name attribute |
Definition at line 1014 of file xml_io_basic_types.cc.
References ArtsXMLTag::add_attribute(), ConstTensor6View::nbooks(), ConstTensor6View::ncols(), ConstTensor6View::npages(), ConstTensor6View::nrows(), ConstTensor6View::nshelves(), ConstTensor6View::nvitrines(), ArtsXMLTag::set_name(), ARTS::Var::verbosity(), ArtsXMLTag::write_to_stream(), and xml_set_stream_precision().
| void xml_write_to_stream | ( | ostream & | os_xml, |
| const Tensor7 & | tensor, | ||
| bofstream * | pbofs, | ||
| const String & | name, | ||
| const Verbosity & | verbosity | ||
| ) |
Writes Tensor7 to XML output stream.
| os_xml | XML Output stream |
| tensor | Tensor |
| pbofs | Pointer to binary file stream. NULL for ASCII output. |
| name | Optional name attribute |
Definition at line 1141 of file xml_io_basic_types.cc.
References ArtsXMLTag::add_attribute(), ConstTensor7View::nbooks(), ConstTensor7View::ncols(), ConstTensor7View::nlibraries(), ConstTensor7View::npages(), ConstTensor7View::nrows(), ConstTensor7View::nshelves(), ConstTensor7View::nvitrines(), ArtsXMLTag::set_name(), ARTS::Var::verbosity(), ArtsXMLTag::write_to_stream(), and xml_set_stream_precision().
| void xml_write_to_stream | ( | ostream & | os_xml, |
| const Time & | t, | ||
| bofstream * | pbofs, | ||
| const String & | , | ||
| const Verbosity & | verbosity | ||
| ) |
Writes Time to XML output stream.
| os_xml | XML Output stream |
| t | Time |
| pbofs | Pointer to binary file stream. NULL for ASCII output. |
| name | Optional name attribute (ignored) |
Definition at line 1493 of file xml_io_basic_types.cc.
References ArtsXMLTag::add_attribute(), ArtsXMLTag::set_name(), ARTS::Var::verbosity(), Time::Version(), ArtsXMLTag::write_to_stream(), and xml_set_stream_precision().
| void xml_write_to_stream | ( | ostream & | os_xml, |
| const TransmissionMatrix & | tm, | ||
| bofstream * | pbofs, | ||
| const String & | name, | ||
| const Verbosity & | verbosity | ||
| ) |
Writes RadiationVector to XML output stream.
| os_xml | XML Output stream |
| tm | TransmissionMatrix |
| pbofs | Pointer to binary file stream. NULL for ASCII output. |
| name | Optional name attribute |
Definition at line 1345 of file xml_io_basic_types.cc.
References ArtsXMLTag::add_attribute(), TransmissionMatrix::Frequencies(), ArtsXMLTag::set_name(), TransmissionMatrix::StokesDim(), ARTS::Var::verbosity(), ArtsXMLTag::write_to_stream(), and xml_set_stream_precision().
| void xml_write_to_stream | ( | ostream & | os_xml, |
| const Vector & | vector, | ||
| bofstream * | pbofs, | ||
| const String & | name, | ||
| const Verbosity & | verbosity | ||
| ) |
Writes Vector to XML output stream.
| os_xml | XML Output stream |
| vector | Vector |
| pbofs | Pointer to binary file stream. NULL for ASCII output. |
| name | Optional name attribute |
Definition at line 1263 of file xml_io_basic_types.cc.
References ArtsXMLTag::add_attribute(), ConstVectorView::nelem(), ArtsXMLTag::set_name(), ARTS::Var::verbosity(), ArtsXMLTag::write_to_stream(), and xml_set_stream_precision().