ARTS  2.4.0(git:4fb77825)
xml_io_compound_types.cc File Reference

This file contains basic functions to handle XML data files. More...

#include "arts.h"
#include "cloudbox.h"
#include "global_data.h"
#include "gridded_fields.h"
#include "jacobian.h"
#include "matpackI.h"
#include "matpackII.h"
#include "matpackIII.h"
#include "matpackIV.h"
#include "matpackV.h"
#include "matpackVI.h"
#include "matpackVII.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, CIARecord &cr, bifstream *pbifs, const Verbosity &verbosity)
 Reads CIARecord from XML input stream. More...
 
void xml_write_to_stream (ostream &os_xml, const CIARecord &cr, bofstream *pbofs, const String &name, const Verbosity &verbosity)
 Writes CIARecord to XML output stream. More...
 
void xml_read_from_stream (istream &is_xml, CovarianceMatrix &covmat, bifstream *pbifs, const Verbosity &verbosity)
 Reads CovarianceMatrix from XML input stream. More...
 
void xml_write_to_stream (ostream &os_xml, const CovarianceMatrix &covmat, bofstream *pbofs, const String &name, const Verbosity &verbosity)
 Write CovarianceMatrix to XML output stream. More...
 
void xml_read_from_stream (istream &is_xml, EnergyLevelMap &elm, bifstream *pbifs, const Verbosity &verbosity)
 Reads EnergyLevelMap from XML input stream. More...
 
void xml_write_to_stream (ostream &os_xml, const EnergyLevelMap &elm, bofstream *pbofs, const String &name, const Verbosity &verbosity)
 Writes EnergyLevelMap to XML output stream. More...
 
void xml_read_from_stream (istream &is_xml, GasAbsLookup &gal, bifstream *pbifs, const Verbosity &verbosity)
 Reads GasAbsLookup from XML input stream. More...
 
void xml_write_to_stream (ostream &os_xml, const GasAbsLookup &gal, bofstream *pbofs, const String &name, const Verbosity &verbosity)
 Writes GasAbsLookup to XML output stream. More...
 
void xml_read_from_stream (istream &is_xml, GriddedField &gfield, bifstream *pbifs, const Verbosity &verbosity)
 Reads the grids for gridded fields from XML input stream. More...
 
void xml_write_to_stream (ostream &os_xml, const GriddedField &gfield, bofstream *pbofs, const String &, const Verbosity &verbosity)
 Writes the grids for gridded fields to an XML input stream. More...
 
void xml_read_from_stream (istream &is_xml, GriddedField1 &gfield, bifstream *pbifs, const Verbosity &verbosity)
 Reads GriddedField1 from XML input stream. More...
 
void xml_write_to_stream (ostream &os_xml, const GriddedField1 &gfield, bofstream *pbofs, const String &name, const Verbosity &verbosity)
 Writes GriddedField1 to XML output stream. More...
 
void xml_read_from_stream (istream &is_xml, GriddedField2 &gfield, bifstream *pbifs, const Verbosity &verbosity)
 Reads GriddedField2 from XML input stream. More...
 
void xml_write_to_stream (ostream &os_xml, const GriddedField2 &gfield, bofstream *pbofs, const String &name, const Verbosity &verbosity)
 Writes GriddedField2 to XML output stream. More...
 
void xml_read_from_stream (istream &is_xml, GriddedField3 &gfield, bifstream *pbifs, const Verbosity &verbosity)
 Reads GriddedField3 from XML input stream. More...
 
void xml_write_to_stream (ostream &os_xml, const GriddedField3 &gfield, bofstream *pbofs, const String &name, const Verbosity &verbosity)
 Writes GriddedField3 to XML output stream. More...
 
void xml_read_from_stream (istream &is_xml, GriddedField4 &gfield, bifstream *pbifs, const Verbosity &verbosity)
 Reads GriddedField4 from XML input stream. More...
 
void xml_write_to_stream (ostream &os_xml, const GriddedField4 &gfield, bofstream *pbofs, const String &name, const Verbosity &verbosity)
 Writes GriddedField4 to XML output stream. More...
 
void xml_read_from_stream (istream &is_xml, GriddedField5 &gfield, bifstream *pbifs, const Verbosity &verbosity)
 Reads GriddedField5 from XML input stream. More...
 
void xml_write_to_stream (ostream &os_xml, const GriddedField5 &gfield, bofstream *pbofs, const String &name, const Verbosity &verbosity)
 Writes GriddedField5 to XML output stream. More...
 
void xml_read_from_stream (istream &is_xml, GriddedField6 &gfield, bifstream *pbifs, const Verbosity &verbosity)
 Reads GriddedField6 from XML input stream. More...
 
void xml_write_to_stream (ostream &os_xml, const GriddedField6 &gfield, bofstream *pbofs, const String &name, const Verbosity &verbosity)
 Writes GriddedField6 to XML output stream. More...
 
void xml_read_from_stream (istream &is_xml, GridPos &gpos, bifstream *pbifs, const Verbosity &verbosity)
 Reads GridPos from XML input stream. More...
 
void xml_write_to_stream (ostream &os_xml, const GridPos &gpos, bofstream *pbofs, const String &name, const Verbosity &verbosity)
 Writes GridPos to XML output stream. More...
 
void xml_read_from_stream (istream &is_xml, HitranRelaxationMatrixData &hitran, bifstream *pbifs, const Verbosity &verbosity)
 Reads HitranRelaxationMatrixData from XML input stream. More...
 
void xml_write_to_stream (ostream &os_xml, const HitranRelaxationMatrixData &hitran, bofstream *pbofs, const String &name, const Verbosity &verbosity)
 Writes HitranRelaxationMatrixData to XML output stream. More...
 
void xml_read_from_stream (istream &is_xml, IsotopologueRecord &irecord, bifstream *pbifs, const Verbosity &verbosity)
 Reads IsotopologueRecord from XML input stream. More...
 
void xml_write_to_stream (ostream &os_xml, const IsotopologueRecord &irecord, bofstream *pbofs, const String &name, const Verbosity &verbosity)
 Writes IsotopologueRecord to XML output stream. More...
 
void xml_read_from_stream (istream &is_xml, Ppath &ppath, bifstream *pbifs, const Verbosity &verbosity)
 Reads Ppath from XML input stream. More...
 
void xml_write_to_stream (ostream &os_xml, const Ppath &ppath, bofstream *pbofs, const String &name, const Verbosity &verbosity)
 Writes Ppath to XML output stream. More...
 
void xml_read_from_stream (istream &is_xml, PropagationMatrix &pm, bifstream *pbifs, const Verbosity &verbosity)
 Reads PropagationMatrix from XML input stream. More...
 
void xml_write_to_stream (ostream &os_xml, const PropagationMatrix &pm, bofstream *pbofs, const String &name, const Verbosity &verbosity)
 Writes PropagationMatrix to XML output stream. More...
 
void xml_read_from_stream (istream &is_xml, QuantumIdentifier &qi, bifstream *pbifs, const Verbosity &verbosity)
 Reads QuantumIdentifier from XML input stream. More...
 
void xml_write_to_stream (ostream &os_xml, const QuantumIdentifier &qi, bofstream *pbofs, const String &name, const Verbosity &verbosity)
 Writes QuantumIdentifier to XML output stream. More...
 
void xml_read_from_stream (istream &is_xml, QuantumNumbers &qn, bifstream *pbifs, const Verbosity &verbosity)
 Reads QuantumNumbers from XML input stream. More...
 
void xml_write_to_stream (ostream &os_xml, const QuantumNumbers &qn, bofstream *pbofs, const String &name, const Verbosity &verbosity)
 Writes QuantumNumbers to XML output stream. More...
 
void xml_read_from_stream (istream &is_xml, RetrievalQuantity &rq, bifstream *pbifs, const Verbosity &verbosity)
 Reads RetrievalQuantity from XML input stream. More...
 
void xml_write_to_stream (ostream &os_xml, const RetrievalQuantity &rq, bofstream *pbofs, const String &name, const Verbosity &verbosity)
 Writes RetrievalQuantity to XML output stream. More...
 
void xml_read_from_stream (istream &is_xml, SingleScatteringData &ssdata, bifstream *pbifs, const Verbosity &verbosity)
 Reads SingleScatteringData from XML input stream. More...
 
void xml_write_to_stream (ostream &os_xml, const SingleScatteringData &ssdata, bofstream *pbofs, const String &name, const Verbosity &verbosity)
 Writes SingleScatteringData to XML output stream. More...
 
void xml_read_from_stream (istream &is_xml, ScatteringMetaData &smdata, bifstream *pbifs, const Verbosity &verbosity)
 Reads ScatteringMetaData from XML input stream. More...
 
void xml_write_to_stream (ostream &os_xml, const ScatteringMetaData &smdata, bofstream *pbofs, const String &name, const Verbosity &verbosity)
 Writes ScatteringMetaData to XML output stream. More...
 
void xml_read_from_stream (istream &is_xml, SLIData2 &slidata, bifstream *pbifs, const Verbosity &verbosity)
 Reads SLIData2 from XML input stream. More...
 
void xml_write_to_stream (ostream &os_xml, const SLIData2 &slidata, bofstream *pbofs, const String &name, const Verbosity &verbosity)
 
void xml_read_from_stream (istream &is_xml, SpeciesAuxData &sad, bifstream *pbifs, const Verbosity &verbosity)
 Reads SpeciesAuxData from XML input stream. More...
 
void xml_write_to_stream (ostream &os_xml, const SpeciesAuxData &sad, bofstream *pbofs, const String &name, const Verbosity &verbosity)
 Writes SpeciesAuxData to XML output stream. More...
 
void xml_read_from_stream (istream &is_xml, SpeciesRecord &srecord, bifstream *pbifs, const Verbosity &verbosity)
 Reads SpeciesRecord from XML input stream. More...
 
void xml_write_to_stream (ostream &os_xml, const SpeciesRecord &srecord, bofstream *pbofs, const String &name, const Verbosity &verbosity)
 Writes SpeciesRecord to XML output stream. More...
 
void xml_read_from_stream (istream &is_xml, SpeciesTag &stag, bifstream *, const Verbosity &verbosity)
 Reads SpeciesTag from XML input stream. More...
 
void xml_write_to_stream (ostream &os_xml, const SpeciesTag &stag, bofstream *, const String &name, const Verbosity &verbosity)
 Writes SpeciesTag to XML output stream. More...
 
void xml_read_from_stream (istream &is_xml, StokesVector &sv, bifstream *pbifs, const Verbosity &verbosity)
 Reads StokesVector from XML input stream. More...
 
void xml_write_to_stream (ostream &os_xml, const StokesVector &sv, bofstream *pbofs, const String &name, const Verbosity &verbosity)
 Writes StokesVector to XML output stream. More...
 
void xml_read_from_stream (istream &is_xml, TelsemAtlas &ta, bifstream *pbifs, const Verbosity &verbosity)
 Reads TelsemAtlas from XML input stream. More...
 
void xml_write_to_stream (ostream &os_xml, const TelsemAtlas &ta, bofstream *pbofs, const String &name, const Verbosity &verbosity)
 Writes TelsemAtlas to XML output stream. More...
 
void xml_read_from_stream (istream &is_xml, XsecRecord &xd, bifstream *pbifs, const Verbosity &verbosity)
 Reads XsecData from XML input stream. More...
 
void xml_write_to_stream (ostream &os_xml, const XsecRecord &xd, bofstream *pbofs, const String &name, const Verbosity &verbosity)
 Writes XsecData to XML output stream. More...
 
void xml_read_from_stream (istream &, Agenda &, bifstream *, const Verbosity &)
 
void xml_write_to_stream (ostream &, const Agenda &, bofstream *, const String &, const Verbosity &)
 
void xml_read_from_stream (istream &, MCAntenna &, bifstream *, const Verbosity &)
 
void xml_write_to_stream (ostream &, const MCAntenna &, bofstream *, const String &, const Verbosity &)
 
void xml_read_from_stream (istream &, TessemNN &, bifstream *, const Verbosity &)
 
void xml_write_to_stream (ostream &, const TessemNN &, bofstream *, const String &, const Verbosity &)
 
void xml_read_from_stream (istream &, Verbosity &, bifstream *, const Verbosity &)
 
void xml_write_to_stream (ostream &, const Verbosity &, bofstream *, const String &, const Verbosity &)
 

Detailed Description

This file contains basic functions to handle XML data files.

Author
Oliver Lemke olemk.nosp@m.e@co.nosp@m.re-du.nosp@m.mp.i.nosp@m.nfo
Date
2003-06-11

Definition in file xml_io_compound_types.cc.

Function Documentation

◆ xml_read_from_stream() [1/32]

void xml_read_from_stream ( istream &  ,
Agenda ,
bifstream ,
const Verbosity  
)

Definition at line 2252 of file xml_io_compound_types.cc.

◆ xml_read_from_stream() [2/32]

void xml_read_from_stream ( istream &  ,
MCAntenna ,
bifstream ,
const Verbosity  
)

Definition at line 2269 of file xml_io_compound_types.cc.

◆ xml_read_from_stream() [3/32]

void xml_read_from_stream ( istream &  ,
TessemNN ,
bifstream ,
const Verbosity  
)

Definition at line 2286 of file xml_io_compound_types.cc.

◆ xml_read_from_stream() [4/32]

void xml_read_from_stream ( istream &  ,
Verbosity ,
bifstream ,
const Verbosity  
)

Definition at line 2303 of file xml_io_compound_types.cc.

◆ xml_read_from_stream() [5/32]

void xml_read_from_stream ( istream &  is_xml,
CIARecord cr,
bifstream pbifs,
const Verbosity verbosity 
)

Reads CIARecord from XML input stream.

Parameters
is_xmlXML Input stream
irecordSpeciesRecord return value
pbifsPointer to binary input stream. NULL in case of ASCII file.

Definition at line 56 of file xml_io_compound_types.cc.

References ArtsXMLTag::check_name(), ArtsXMLTag::get_attribute_value(), CIARecord::mdata, ArtsXMLTag::read_from_stream(), CIARecord::SetSpecies(), species_index_from_species_name(), and ARTS::Var::verbosity().

Referenced by xml_read_from_stream().

◆ xml_read_from_stream() [6/32]

void xml_read_from_stream ( istream &  is_xml,
CovarianceMatrix covmat,
bifstream pbifs,
const Verbosity verbosity 
)

Reads CovarianceMatrix from XML input stream.

Parameters
is_xmlXML Input stream
covmatCovarianceMatrix
pbifsPointer to binary file stream. NULL for ASCII output.
verbosity

Definition at line 129 of file xml_io_compound_types.cc.

References ArtsXMLTag::check_name(), CovarianceMatrix::correlations_, ArtsXMLTag::get_attribute_value(), CovarianceMatrix::inverses_, M, ArtsXMLTag::read_from_stream(), ARTS::Var::verbosity(), and xml_read_from_stream().

◆ xml_read_from_stream() [7/32]

void xml_read_from_stream ( istream &  is_xml,
EnergyLevelMap elm,
bifstream pbifs,
const Verbosity verbosity 
)

◆ xml_read_from_stream() [8/32]

void xml_read_from_stream ( istream &  is_xml,
GasAbsLookup gal,
bifstream pbifs,
const Verbosity verbosity 
)

◆ xml_read_from_stream() [9/32]

void xml_read_from_stream ( istream &  is_xml,
GriddedField gfield,
bifstream pbifs,
const Verbosity verbosity 
)

Reads the grids for gridded fields from XML input stream.

Parameters
is_xmlXML Input stream
gfieldGriddedField return value
pbifsPointer to binary input stream. NULL in case of ASCII file.

Definition at line 430 of file xml_io_compound_types.cc.

References ArtsXMLTag::check_name(), ArtsXMLTag::get_attribute_value(), GriddedField::get_dim(), ArtsXMLTag::get_name(), ArtsXMLTag::read_from_stream(), GriddedField::set_grid(), GriddedField::set_grid_name(), ARTS::Var::verbosity(), xml_parse_error(), and xml_parse_from_stream().

◆ xml_read_from_stream() [10/32]

void xml_read_from_stream ( istream &  is_xml,
GriddedField1 gfield,
bifstream pbifs,
const Verbosity verbosity 
)

Reads GriddedField1 from XML input stream.

Parameters
is_xmlXML Input stream
gfieldGriddedField1 return value
pbifsPointer to binary input stream. NULL in case of ASCII file.

Definition at line 517 of file xml_io_compound_types.cc.

References ArtsXMLTag::check_name(), GriddedField::checksize_strict(), ArtsXMLTag::get_attribute_value(), ArtsXMLTag::read_from_stream(), GriddedField::set_name(), ARTS::Var::verbosity(), and xml_read_from_stream().

◆ xml_read_from_stream() [11/32]

void xml_read_from_stream ( istream &  is_xml,
GriddedField2 gfield,
bifstream pbifs,
const Verbosity verbosity 
)

Reads GriddedField2 from XML input stream.

Parameters
is_xmlXML Input stream
gfieldGriddedField2 return value
pbifsPointer to binary input stream. NULL in case of ASCII file.

Definition at line 579 of file xml_io_compound_types.cc.

References ArtsXMLTag::check_name(), GriddedField::checksize_strict(), ArtsXMLTag::get_attribute_value(), ArtsXMLTag::read_from_stream(), GriddedField::set_name(), ARTS::Var::verbosity(), and xml_read_from_stream().

◆ xml_read_from_stream() [12/32]

void xml_read_from_stream ( istream &  is_xml,
GriddedField3 gfield,
bifstream pbifs,
const Verbosity verbosity 
)

Reads GriddedField3 from XML input stream.

Parameters
is_xmlXML Input stream
gfieldGriddedField3 return value
pbifsPointer to binary input stream. NULL in case of ASCII file.

Definition at line 641 of file xml_io_compound_types.cc.

References ArtsXMLTag::check_name(), GriddedField::checksize_strict(), ArtsXMLTag::get_attribute_value(), ArtsXMLTag::read_from_stream(), GriddedField::set_name(), ARTS::Var::verbosity(), and xml_read_from_stream().

◆ xml_read_from_stream() [13/32]

void xml_read_from_stream ( istream &  is_xml,
GriddedField4 gfield,
bifstream pbifs,
const Verbosity verbosity 
)

Reads GriddedField4 from XML input stream.

Parameters
is_xmlXML Input stream
gfieldGriddedField4 return value
pbifsPointer to binary input stream. NULL in case of ASCII file.

Definition at line 703 of file xml_io_compound_types.cc.

References ArtsXMLTag::check_name(), GriddedField::checksize_strict(), ArtsXMLTag::get_attribute_value(), ArtsXMLTag::read_from_stream(), GriddedField::set_name(), ARTS::Var::verbosity(), and xml_read_from_stream().

◆ xml_read_from_stream() [14/32]

void xml_read_from_stream ( istream &  is_xml,
GriddedField5 gfield,
bifstream pbifs,
const Verbosity verbosity 
)

Reads GriddedField5 from XML input stream.

Parameters
is_xmlXML Input stream
gfieldGriddedField5 return value
pbifsPointer to binary input stream. NULL in case of ASCII file.

Definition at line 765 of file xml_io_compound_types.cc.

References ArtsXMLTag::check_name(), GriddedField::checksize_strict(), ArtsXMLTag::get_attribute_value(), ArtsXMLTag::read_from_stream(), GriddedField::set_name(), ARTS::Var::verbosity(), and xml_read_from_stream().

◆ xml_read_from_stream() [15/32]

void xml_read_from_stream ( istream &  is_xml,
GriddedField6 gfield,
bifstream pbifs,
const Verbosity verbosity 
)

Reads GriddedField6 from XML input stream.

Parameters
is_xmlXML Input stream
gfieldGriddedField6 return value
pbifsPointer to binary input stream. NULL in case of ASCII file.

Definition at line 827 of file xml_io_compound_types.cc.

References ArtsXMLTag::check_name(), GriddedField::checksize_strict(), ArtsXMLTag::get_attribute_value(), ArtsXMLTag::read_from_stream(), GriddedField::set_name(), ARTS::Var::verbosity(), and xml_read_from_stream().

◆ xml_read_from_stream() [16/32]

void xml_read_from_stream ( istream &  is_xml,
GridPos gpos,
bifstream pbifs,
const Verbosity verbosity 
)

Reads GridPos from XML input stream.

Parameters
is_xmlXML Input stream
gposGridPos return value
pbifsPointer to binary input stream. NULL in case of ASCII file.

Definition at line 889 of file xml_io_compound_types.cc.

References ArtsXMLTag::check_name(), GridPos::fd, GridPos::idx, ArtsXMLTag::read_from_stream(), ARTS::Var::verbosity(), and xml_read_from_stream().

◆ xml_read_from_stream() [17/32]

◆ xml_read_from_stream() [18/32]

void xml_read_from_stream ( istream &  is_xml,
IsotopologueRecord irecord,
bifstream pbifs,
const Verbosity verbosity 
)

Reads IsotopologueRecord from XML input stream.

Parameters
is_xmlXML Input stream
irecordSpeciesRecord return value
pbifsPointer to binary input stream. NULL in case of ASCII file.

Definition at line 1032 of file xml_io_compound_types.cc.

References ArtsXMLTag::check_name(), ArtsXMLTag::read_from_stream(), ARTS::Var::verbosity(), and xml_read_from_stream().

◆ xml_read_from_stream() [19/32]

void xml_read_from_stream ( istream &  is_xml,
Ppath ppath,
bifstream pbifs,
const Verbosity verbosity 
)

Reads Ppath from XML input stream.

Parameters
is_xmlXML Input stream
ppathPpath return value
pbifsPointer to binary input stream. NULL in case of ASCII file.

Definition at line 1104 of file xml_io_compound_types.cc.

References ArtsXMLTag::check_name(), ARTS::Var::Ppath::pos(), ARTS::Var::ppath(), ArtsXMLTag::read_from_stream(), ARTS::Var::verbosity(), and xml_read_from_stream().

◆ xml_read_from_stream() [20/32]

void xml_read_from_stream ( istream &  is_xml,
PropagationMatrix pm,
bifstream pbifs,
const Verbosity verbosity 
)

Reads PropagationMatrix from XML input stream.

Parameters
is_xmlXML Input stream
pmPropagationMatrix return value
pbifsPointer to binary input stream. NULL in case of ASCII file.

Definition at line 1213 of file xml_io_compound_types.cc.

References ArtsXMLTag::check_name(), ArtsXMLTag::read_from_stream(), ARTS::Var::verbosity(), and xml_read_from_stream().

◆ xml_read_from_stream() [21/32]

void xml_read_from_stream ( istream &  is_xml,
QuantumIdentifier qi,
bifstream pbifs,
const Verbosity verbosity 
)

Reads QuantumIdentifier from XML input stream.

Parameters
is_xmlXML Input stream
qiQuantumIdentifier return value
pbifsPointer to binary input stream. NULL in case of ASCII file.

Definition at line 1275 of file xml_io_compound_types.cc.

References ArtsXMLTag::check_name(), parse_xml_tag_content_as_string(), ArtsXMLTag::read_from_stream(), QuantumIdentifier::SetFromString(), and ARTS::Var::verbosity().

◆ xml_read_from_stream() [22/32]

void xml_read_from_stream ( istream &  is_xml,
QuantumNumbers qn,
bifstream pbifs,
const Verbosity verbosity 
)

Reads QuantumNumbers from XML input stream.

Parameters
is_xmlXML Input stream
qnQuantumNumbers return value
pbifsPointer to binary input stream. NULL in case of ASCII file.

Definition at line 1334 of file xml_io_compound_types.cc.

References ArtsXMLTag::check_name(), ArtsXMLTag::get_attribute_value(), Absorption::nelem(), ArtsXMLTag::read_from_stream(), and ARTS::Var::verbosity().

◆ xml_read_from_stream() [23/32]

void xml_read_from_stream ( istream &  is_xml,
RetrievalQuantity rq,
bifstream pbifs,
const Verbosity verbosity 
)

Reads RetrievalQuantity from XML input stream.

Parameters
is_xmlXML Input stream
rqRetrievalQuantity return value
pbifsPointer to binary input stream. NULL in case of ASCII file.

Definition at line 1395 of file xml_io_compound_types.cc.

References ArtsXMLTag::check_name(), ArtsXMLTag::read_from_stream(), ARTS::Var::verbosity(), and xml_read_from_stream().

◆ xml_read_from_stream() [24/32]

void xml_read_from_stream ( istream &  is_xml,
ScatteringMetaData smdata,
bifstream pbifs,
const Verbosity verbosity 
)

◆ xml_read_from_stream() [25/32]

◆ xml_read_from_stream() [26/32]

void xml_read_from_stream ( istream &  is_xml,
SLIData2 slidata,
bifstream pbifs,
const Verbosity verbosity 
)

Reads SLIData2 from XML input stream.

Parameters
is_xmlXML Input stream
slidataSLIData return value
pbifsPointer to binary input stream. NULL in case of ASCII file.

Definition at line 1655 of file xml_io_compound_types.cc.

References ArtsXMLTag::check_name(), ArtsXMLTag::read_from_stream(), ARTS::Var::verbosity(), SLIData2::x1a, SLIData2::x2a, xml_read_from_stream(), and SLIData2::ya.

◆ xml_read_from_stream() [27/32]

void xml_read_from_stream ( istream &  is_xml,
SpeciesAuxData sad,
bifstream pbifs,
const Verbosity verbosity 
)

Reads SpeciesAuxData from XML input stream.

Parameters
is_xmlXML Input stream
sapSpeciesAuxData return value
pbifsPointer to binary input stream. NULL in case of ASCII file.

Definition at line 1701 of file xml_io_compound_types.cc.

References ArtsXMLTag::check_name(), CREATE_OUT2, find_first(), ArtsXMLTag::get_attribute_value(), SpeciesAuxData::InitFromSpeciesData(), Absorption::nelem(), ArtsXMLTag::read_from_stream(), SpeciesAuxData::ReadFromStream(), and ARTS::Var::verbosity().

◆ xml_read_from_stream() [28/32]

void xml_read_from_stream ( istream &  is_xml,
SpeciesRecord srecord,
bifstream pbifs,
const Verbosity verbosity 
)

Reads SpeciesRecord from XML input stream.

Parameters
is_xmlXML Input stream
srecordSpeciesRecord return value
pbifsPointer to binary input stream. NULL in case of ASCII file.

Definition at line 1854 of file xml_io_compound_types.cc.

References ArtsXMLTag::check_name(), ArtsXMLTag::read_from_stream(), ARTS::Var::verbosity(), and xml_read_from_stream().

◆ xml_read_from_stream() [29/32]

void xml_read_from_stream ( istream &  is_xml,
SpeciesTag stag,
bifstream ,
const Verbosity verbosity 
)

Reads SpeciesTag from XML input stream.

Parameters
is_xmlXML Input stream
stagSpeciesTag return value

Definition at line 1914 of file xml_io_compound_types.cc.

References ArtsXMLTag::check_name(), ArtsXMLTag::read_from_stream(), ARTS::Var::verbosity(), and xml_parse_error().

◆ xml_read_from_stream() [30/32]

void xml_read_from_stream ( istream &  is_xml,
StokesVector sv,
bifstream pbifs,
const Verbosity verbosity 
)

Reads StokesVector from XML input stream.

Parameters
is_xmlXML Input stream
pmStokesVector return value
pbifsPointer to binary input stream. NULL in case of ASCII file.

Definition at line 1995 of file xml_io_compound_types.cc.

References ArtsXMLTag::check_name(), ArtsXMLTag::read_from_stream(), ARTS::Var::verbosity(), and xml_read_from_stream().

◆ xml_read_from_stream() [31/32]

void xml_read_from_stream ( istream &  is_xml,
TelsemAtlas ta,
bifstream pbifs,
const Verbosity verbosity 
)

◆ xml_read_from_stream() [32/32]

void xml_read_from_stream ( istream &  is_xml,
XsecRecord xd,
bifstream pbifs,
const Verbosity verbosity 
)

◆ xml_write_to_stream() [1/32]

void xml_write_to_stream ( ostream &  ,
const Agenda ,
bofstream ,
const String ,
const Verbosity  
)

Definition at line 2259 of file xml_io_compound_types.cc.

◆ xml_write_to_stream() [2/32]

void xml_write_to_stream ( ostream &  ,
const MCAntenna ,
bofstream ,
const String ,
const Verbosity  
)

Definition at line 2276 of file xml_io_compound_types.cc.

◆ xml_write_to_stream() [3/32]

void xml_write_to_stream ( ostream &  ,
const TessemNN ,
bofstream ,
const String ,
const Verbosity  
)

Definition at line 2293 of file xml_io_compound_types.cc.

◆ xml_write_to_stream() [4/32]

void xml_write_to_stream ( ostream &  ,
const Verbosity ,
bofstream ,
const String ,
const Verbosity  
)

Definition at line 2310 of file xml_io_compound_types.cc.

◆ xml_write_to_stream() [5/32]

void xml_write_to_stream ( ostream &  os_xml,
const CIARecord cr,
bofstream pbofs,
const String name,
const Verbosity verbosity 
)

Writes CIARecord to XML output stream.

Parameters
os_xmlXML Output stream
irecordCIARecord
pbofsPointer to binary file stream. NULL for ASCII output.
nameOptional name attribute

Definition at line 101 of file xml_io_compound_types.cc.

References ArtsXMLTag::add_attribute(), CIARecord::Data(), CIARecord::MoleculeName(), ArtsXMLTag::set_name(), ARTS::Var::verbosity(), and ArtsXMLTag::write_to_stream().

Referenced by xml_write_to_stream().

◆ xml_write_to_stream() [6/32]

void xml_write_to_stream ( ostream &  os_xml,
const CovarianceMatrix covmat,
bofstream pbofs,
const String name,
const Verbosity verbosity 
)

Write CovarianceMatrix to XML output stream.

Parameters
os_xmlXML output stream
covmatCovarianceMatrix
pbofsPointer to binary file stream. NULL for ASCII output.
nameUnused
verbosity

Definition at line 208 of file xml_io_compound_types.cc.

References ArtsXMLTag::add_attribute(), CovarianceMatrix::correlations_, CovarianceMatrix::inverses_, ArtsXMLTag::set_name(), ARTS::Var::verbosity(), and ArtsXMLTag::write_to_stream().

◆ xml_write_to_stream() [7/32]

void xml_write_to_stream ( ostream &  os_xml,
const EnergyLevelMap elm,
bofstream pbofs,
const String name,
const Verbosity verbosity 
)

Writes EnergyLevelMap to XML output stream.

Parameters
os_xmlXML Output stream
galEnergyLevelMap
pbofsPointer to binary file stream. NULL for ASCII output.
nameOptional name attribute

Definition at line 326 of file xml_io_compound_types.cc.

References ArtsXMLTag::add_attribute(), EnergyLevelMap::Data(), EnergyLevelMap::Energies(), energylevelmaptype2string(), EnergyLevelMap::Levels(), ArtsXMLTag::set_name(), EnergyLevelMap::Type(), ARTS::Var::verbosity(), ArtsXMLTag::write_to_stream(), and xml_write_to_stream().

◆ xml_write_to_stream() [8/32]

void xml_write_to_stream ( ostream &  os_xml,
const GasAbsLookup gal,
bofstream pbofs,
const String name,
const Verbosity verbosity 
)

◆ xml_write_to_stream() [9/32]

void xml_write_to_stream ( ostream &  os_xml,
const GriddedField gfield,
bofstream pbofs,
const String ,
const Verbosity verbosity 
)

Writes the grids for gridded fields to an XML input stream.

Parameters
os_xmlXML output stream
gfieldGriddedField with the grids
pbofsPointer to binary output stream. NULL in case of ASCII file.

Definition at line 484 of file xml_io_compound_types.cc.

References GriddedField::get_dim(), GriddedField::get_grid_name(), GriddedField::get_grid_type(), GriddedField::get_numeric_grid(), GriddedField::get_string_grid(), GRID_TYPE_NUMERIC, GRID_TYPE_STRING, ARTS::Var::verbosity(), and xml_write_to_stream().

◆ xml_write_to_stream() [10/32]

void xml_write_to_stream ( ostream &  os_xml,
const GriddedField1 gfield,
bofstream pbofs,
const String name,
const Verbosity verbosity 
)

Writes GriddedField1 to XML output stream.

Parameters
os_xmlXML Output stream
gfieldGriddedField1
pbofsPointer to binary file stream. NULL for ASCII output.
nameOptional name attribute

Definition at line 546 of file xml_io_compound_types.cc.

References ArtsXMLTag::add_attribute(), GriddedField::get_name(), ArtsXMLTag::set_name(), ARTS::Var::verbosity(), ArtsXMLTag::write_to_stream(), and xml_write_to_stream().

◆ xml_write_to_stream() [11/32]

void xml_write_to_stream ( ostream &  os_xml,
const GriddedField2 gfield,
bofstream pbofs,
const String name,
const Verbosity verbosity 
)

Writes GriddedField2 to XML output stream.

Parameters
os_xmlXML Output stream
gfieldGriddedField2
pbofsPointer to binary file stream. NULL for ASCII output.
nameOptional name attribute

Definition at line 608 of file xml_io_compound_types.cc.

References ArtsXMLTag::add_attribute(), GriddedField::get_name(), ArtsXMLTag::set_name(), ARTS::Var::verbosity(), ArtsXMLTag::write_to_stream(), and xml_write_to_stream().

◆ xml_write_to_stream() [12/32]

void xml_write_to_stream ( ostream &  os_xml,
const GriddedField3 gfield,
bofstream pbofs,
const String name,
const Verbosity verbosity 
)

Writes GriddedField3 to XML output stream.

Parameters
os_xmlXML Output stream
gfieldGriddedField3
pbofsPointer to binary file stream. NULL for ASCII output.
nameOptional name attribute

Definition at line 670 of file xml_io_compound_types.cc.

References ArtsXMLTag::add_attribute(), GriddedField::get_name(), ArtsXMLTag::set_name(), ARTS::Var::verbosity(), ArtsXMLTag::write_to_stream(), and xml_write_to_stream().

◆ xml_write_to_stream() [13/32]

void xml_write_to_stream ( ostream &  os_xml,
const GriddedField4 gfield,
bofstream pbofs,
const String name,
const Verbosity verbosity 
)

Writes GriddedField4 to XML output stream.

Parameters
os_xmlXML Output stream
gfieldGriddedField4
pbofsPointer to binary file stream. NULL for ASCII output.
nameOptional name attribute

Definition at line 732 of file xml_io_compound_types.cc.

References ArtsXMLTag::add_attribute(), GriddedField::get_name(), ArtsXMLTag::set_name(), ARTS::Var::verbosity(), ArtsXMLTag::write_to_stream(), and xml_write_to_stream().

◆ xml_write_to_stream() [14/32]

void xml_write_to_stream ( ostream &  os_xml,
const GriddedField5 gfield,
bofstream pbofs,
const String name,
const Verbosity verbosity 
)

Writes GriddedField5 to XML output stream.

Parameters
os_xmlXML Output stream
gfieldGriddedField5
pbofsPointer to binary file stream. NULL for ASCII output.
nameOptional name attribute

Definition at line 794 of file xml_io_compound_types.cc.

References ArtsXMLTag::add_attribute(), GriddedField::get_name(), ArtsXMLTag::set_name(), ARTS::Var::verbosity(), ArtsXMLTag::write_to_stream(), and xml_write_to_stream().

◆ xml_write_to_stream() [15/32]

void xml_write_to_stream ( ostream &  os_xml,
const GriddedField6 gfield,
bofstream pbofs,
const String name,
const Verbosity verbosity 
)

Writes GriddedField6 to XML output stream.

Parameters
os_xmlXML Output stream
gfieldGriddedField6
pbofsPointer to binary file stream. NULL for ASCII output.
nameOptional name attribute

Definition at line 856 of file xml_io_compound_types.cc.

References ArtsXMLTag::add_attribute(), GriddedField::get_name(), ArtsXMLTag::set_name(), ARTS::Var::verbosity(), ArtsXMLTag::write_to_stream(), and xml_write_to_stream().

◆ xml_write_to_stream() [16/32]

void xml_write_to_stream ( ostream &  os_xml,
const GridPos gpos,
bofstream pbofs,
const String name,
const Verbosity verbosity 
)

Writes GridPos to XML output stream.

Parameters
os_xmlXML Output stream
gposGridPos
pbofsPointer to binary file stream. NULL for ASCII output.
nameOptional name attribute

Definition at line 913 of file xml_io_compound_types.cc.

References ArtsXMLTag::add_attribute(), GridPos::fd, GridPos::idx, ArtsXMLTag::set_name(), ARTS::Var::verbosity(), ArtsXMLTag::write_to_stream(), and xml_write_to_stream().

◆ xml_write_to_stream() [17/32]

◆ xml_write_to_stream() [18/32]

void xml_write_to_stream ( ostream &  os_xml,
const IsotopologueRecord irecord,
bofstream pbofs,
const String name,
const Verbosity verbosity 
)

◆ xml_write_to_stream() [19/32]

void xml_write_to_stream ( ostream &  os_xml,
const Ppath ppath,
bofstream pbofs,
const String name,
const Verbosity verbosity 
)

Writes Ppath to XML output stream.

Parameters
os_xmlXML Output stream
ppathPpath
pbofsPointer to binary file stream. NULL for ASCII output.
nameOptional name attribute

Definition at line 1144 of file xml_io_compound_types.cc.

References ArtsXMLTag::add_attribute(), ARTS::Var::Ppath::pos(), ARTS::Var::ppath(), ArtsXMLTag::set_name(), ARTS::Var::verbosity(), ArtsXMLTag::write_to_stream(), and xml_write_to_stream().

◆ xml_write_to_stream() [20/32]

void xml_write_to_stream ( ostream &  os_xml,
const PropagationMatrix pm,
bofstream pbofs,
const String name,
const Verbosity verbosity 
)

Writes PropagationMatrix to XML output stream.

Parameters
os_xmlXML Output stream
pmPropagationMatrix
pbofsPointer to binary file stream. NULL for ASCII output.
nameOptional name attribute

Definition at line 1245 of file xml_io_compound_types.cc.

References ArtsXMLTag::add_attribute(), PropagationMatrix::Data(), ArtsXMLTag::set_name(), ARTS::Var::verbosity(), ArtsXMLTag::write_to_stream(), and xml_write_to_stream().

◆ xml_write_to_stream() [21/32]

void xml_write_to_stream ( ostream &  os_xml,
const QuantumIdentifier qi,
bofstream pbofs,
const String name,
const Verbosity verbosity 
)

Writes QuantumIdentifier to XML output stream.

Parameters
os_xmlXML Output stream
qiQuantumIdentifier
pbofsPointer to binary file stream. NULL for ASCII output.
nameOptional name attribute

Definition at line 1307 of file xml_io_compound_types.cc.

References ArtsXMLTag::add_attribute(), ArtsXMLTag::set_name(), ARTS::Var::verbosity(), and ArtsXMLTag::write_to_stream().

◆ xml_write_to_stream() [22/32]

void xml_write_to_stream ( ostream &  os_xml,
const QuantumNumbers qn,
bofstream pbofs,
const String name,
const Verbosity verbosity 
)

Writes QuantumNumbers to XML output stream.

Parameters
os_xmlXML Output stream
qnQuantumNumbers
pbofsPointer to binary file stream. NULL for ASCII output.
nameOptional name attribute

Definition at line 1368 of file xml_io_compound_types.cc.

References ArtsXMLTag::add_attribute(), QuantumNumbers::GetNumbers(), ArtsXMLTag::set_name(), ARTS::Var::verbosity(), and ArtsXMLTag::write_to_stream().

◆ xml_write_to_stream() [23/32]

void xml_write_to_stream ( ostream &  os_xml,
const RetrievalQuantity rq,
bofstream pbofs,
const String name,
const Verbosity verbosity 
)

◆ xml_write_to_stream() [24/32]

void xml_write_to_stream ( ostream &  os_xml,
const ScatteringMetaData smdata,
bofstream pbofs,
const String name,
const Verbosity verbosity 
)

◆ xml_write_to_stream() [25/32]

void xml_write_to_stream ( ostream &  os_xml,
const SingleScatteringData ssdata,
bofstream pbofs,
const String name,
const Verbosity verbosity 
)

◆ xml_write_to_stream() [26/32]

void xml_write_to_stream ( ostream &  os_xml,
const SLIData2 slidata,
bofstream pbofs,
const String name,
const Verbosity verbosity 
)

◆ xml_write_to_stream() [27/32]

void xml_write_to_stream ( ostream &  os_xml,
const SpeciesAuxData sad,
bofstream pbofs,
const String name,
const Verbosity verbosity 
)

◆ xml_write_to_stream() [28/32]

void xml_write_to_stream ( ostream &  os_xml,
const SpeciesRecord srecord,
bofstream pbofs,
const String name,
const Verbosity verbosity 
)

Writes SpeciesRecord to XML output stream.

Parameters
os_xmlXML Output stream
srecordSpeciesRecord
pbofsPointer to binary file stream. NULL for ASCII output.
nameOptional name attribute

Definition at line 1883 of file xml_io_compound_types.cc.

References ArtsXMLTag::add_attribute(), SpeciesRecord::Degfr(), SpeciesRecord::Isotopologue(), SpeciesRecord::Name(), ArtsXMLTag::set_name(), ARTS::Var::verbosity(), ArtsXMLTag::write_to_stream(), and xml_write_to_stream().

◆ xml_write_to_stream() [29/32]

void xml_write_to_stream ( ostream &  os_xml,
const SpeciesTag stag,
bofstream ,
const String name,
const Verbosity verbosity 
)

Writes SpeciesTag to XML output stream.

Parameters
os_xmlXML Output stream
stagSpeciesTag
nameOptional name attribute

Definition at line 1968 of file xml_io_compound_types.cc.

References ArtsXMLTag::add_attribute(), SpeciesTag::Name(), ArtsXMLTag::set_name(), ARTS::Var::verbosity(), and ArtsXMLTag::write_to_stream().

◆ xml_write_to_stream() [30/32]

void xml_write_to_stream ( ostream &  os_xml,
const StokesVector sv,
bofstream pbofs,
const String name,
const Verbosity verbosity 
)

Writes StokesVector to XML output stream.

Parameters
os_xmlXML Output stream
pmStokesVector
pbofsPointer to binary file stream. NULL for ASCII output.
nameOptional name attribute

Definition at line 2027 of file xml_io_compound_types.cc.

References ArtsXMLTag::add_attribute(), PropagationMatrix::Data(), ArtsXMLTag::set_name(), ARTS::Var::verbosity(), ArtsXMLTag::write_to_stream(), and xml_write_to_stream().

◆ xml_write_to_stream() [31/32]

void xml_write_to_stream ( ostream &  os_xml,
const TelsemAtlas ta,
bofstream pbofs,
const String name,
const Verbosity verbosity 
)

◆ xml_write_to_stream() [32/32]

void xml_write_to_stream ( ostream &  os_xml,
const XsecRecord xd,
bofstream pbofs,
const String name,
const Verbosity verbosity 
)