ARTS  2.2.66
xml_io_compound_types.cc File Reference

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

#include "arts.h"
#include "xml_io_private.h"
#include "xml_io_types.h"
#include "matpackI.h"
#include "matpackII.h"
#include "matpackIII.h"
#include "matpackIV.h"
#include "matpackV.h"
#include "matpackVI.h"
#include "matpackVII.h"
#include "gridded_fields.h"
#include "jacobian.h"
#include "global_data.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, 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, 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, LineMixingRecord &lmr, bifstream *pbifs, const Verbosity &verbosity)
 Reads LineMixingRecord from XML input stream. More...
 
void xml_write_to_stream (ostream &os_xml, const LineMixingRecord &lmr, bofstream *pbofs, const String &name, const Verbosity &verbosity)
 Writes LineMixingRecord 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, QuantumNumberRecord &qnr, bifstream *pbifs, const Verbosity &verbosity)
 Reads QuantumNumberRecord from XML input stream. More...
 
void xml_write_to_stream (ostream &os_xml, const QuantumNumberRecord &qnr, bofstream *pbofs, const String &name, const Verbosity &verbosity)
 Writes QuantumNumberRecord 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 &, 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 &, 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/25]

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

Definition at line 1733 of file xml_io_compound_types.cc.

◆ xml_read_from_stream() [2/25]

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

Definition at line 1752 of file xml_io_compound_types.cc.

◆ xml_read_from_stream() [3/25]

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

Definition at line 1771 of file xml_io_compound_types.cc.

◆ xml_read_from_stream() [4/25]

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 58 of file xml_io_compound_types.cc.

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

Referenced by xml_read_from_stream().

◆ xml_read_from_stream() [5/25]

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

Reads GasAbsLookup from XML input stream.

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

Definition at line 138 of file xml_io_compound_types.cc.

References ArtsXMLTag::check_name(), GasAbsLookup::f_grid, GasAbsLookup::nls_pert, GasAbsLookup::nonlinear_species, GasAbsLookup::p_grid, ArtsXMLTag::read_from_stream(), GasAbsLookup::species, GasAbsLookup::t_pert, GasAbsLookup::t_ref, GasAbsLookup::vmrs_ref, xml_read_from_stream(), and GasAbsLookup::xsec.

◆ xml_read_from_stream() [6/25]

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 208 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(), xml_parse_error(), and xml_parse_from_stream().

◆ xml_read_from_stream() [7/25]

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 299 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(), and xml_read_from_stream().

◆ xml_read_from_stream() [8/25]

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 364 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(), and xml_read_from_stream().

◆ xml_read_from_stream() [9/25]

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 429 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(), and xml_read_from_stream().

◆ xml_read_from_stream() [10/25]

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 494 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(), and xml_read_from_stream().

◆ xml_read_from_stream() [11/25]

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 559 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(), and xml_read_from_stream().

◆ xml_read_from_stream() [12/25]

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 624 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(), and xml_read_from_stream().

◆ xml_read_from_stream() [13/25]

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 689 of file xml_io_compound_types.cc.

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

◆ xml_read_from_stream() [14/25]

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 748 of file xml_io_compound_types.cc.

References ArtsXMLTag::check_name(), ArtsXMLTag::read_from_stream(), and xml_read_from_stream().

◆ xml_read_from_stream() [15/25]

void xml_read_from_stream ( istream &  is_xml,
LineMixingRecord lmr,
bifstream pbifs,
const Verbosity verbosity 
)

Reads LineMixingRecord from XML input stream.

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

Definition at line 820 of file xml_io_compound_types.cc.

References ArtsXMLTag::check_name(), LineMixingRecord::Data(), SpeciesTag::Isotopologue(), LineMixingRecord::Quantum(), ArtsXMLTag::read_from_stream(), SpeciesTag::Species(), and xml_read_from_stream().

◆ xml_read_from_stream() [16/25]

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

◆ xml_read_from_stream() [17/25]

void xml_read_from_stream ( istream &  is_xml,
QuantumNumberRecord qnr,
bifstream pbifs,
const Verbosity verbosity 
)

Reads QuantumNumberRecord from XML input stream.

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

Definition at line 985 of file xml_io_compound_types.cc.

References ArtsXMLTag::check_name(), QuantumNumberRecord::Lower(), ArtsXMLTag::read_from_stream(), QuantumNumberRecord::Upper(), and xml_read_from_stream().

◆ xml_read_from_stream() [18/25]

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 1081 of file xml_io_compound_types.cc.

References ArtsXMLTag::check_name(), ArtsXMLTag::get_attribute_value(), and ArtsXMLTag::read_from_stream().

◆ xml_read_from_stream() [19/25]

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 1150 of file xml_io_compound_types.cc.

References ArtsXMLTag::check_name(), ArtsXMLTag::read_from_stream(), and xml_read_from_stream().

◆ xml_read_from_stream() [20/25]

◆ xml_read_from_stream() [21/25]

◆ xml_read_from_stream() [22/25]

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 1407 of file xml_io_compound_types.cc.

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

◆ xml_read_from_stream() [23/25]

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 1456 of file xml_io_compound_types.cc.

References ArtsXMLTag::check_name(), CREATE_OUT2, find_first(), ArtsXMLTag::get_attribute_value(), SpeciesAuxData::initParams(), ArtsXMLTag::read_from_stream(), and SpeciesAuxData::ReadFromStream().

◆ xml_read_from_stream() [24/25]

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 1584 of file xml_io_compound_types.cc.

References ArtsXMLTag::check_name(), ArtsXMLTag::read_from_stream(), and xml_read_from_stream().

◆ xml_read_from_stream() [25/25]

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 1647 of file xml_io_compound_types.cc.

References ArtsXMLTag::check_name(), ArtsXMLTag::read_from_stream(), and xml_parse_error().

◆ xml_write_to_stream() [1/25]

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

Definition at line 1741 of file xml_io_compound_types.cc.

◆ xml_write_to_stream() [2/25]

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

Definition at line 1760 of file xml_io_compound_types.cc.

◆ xml_write_to_stream() [3/25]

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

Definition at line 1779 of file xml_io_compound_types.cc.

◆ xml_write_to_stream() [4/25]

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 107 of file xml_io_compound_types.cc.

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

Referenced by xml_write_to_stream().

◆ xml_write_to_stream() [5/25]

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

◆ xml_write_to_stream() [6/25]

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 268 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, and xml_write_to_stream().

◆ xml_write_to_stream() [7/25]

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 330 of file xml_io_compound_types.cc.

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

◆ xml_write_to_stream() [8/25]

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 395 of file xml_io_compound_types.cc.

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

◆ xml_write_to_stream() [9/25]

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 460 of file xml_io_compound_types.cc.

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

◆ xml_write_to_stream() [10/25]

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 525 of file xml_io_compound_types.cc.

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

◆ xml_write_to_stream() [11/25]

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 590 of file xml_io_compound_types.cc.

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

◆ xml_write_to_stream() [12/25]

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 655 of file xml_io_compound_types.cc.

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

◆ xml_write_to_stream() [13/25]

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 714 of file xml_io_compound_types.cc.

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

◆ xml_write_to_stream() [14/25]

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.

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

Definition at line 785 of file xml_io_compound_types.cc.

References IsotopologueRecord::Abundance(), ArtsXMLTag::add_attribute(), IsotopologueRecord::HitranTag(), IsotopologueRecord::JplTags(), IsotopologueRecord::Mass(), IsotopologueRecord::MytranTag(), IsotopologueRecord::Name(), ArtsXMLTag::set_name(), ArtsXMLTag::write_to_stream(), and xml_write_to_stream().

◆ xml_write_to_stream() [15/25]

void xml_write_to_stream ( ostream &  os_xml,
const LineMixingRecord lmr,
bofstream pbofs,
const String name,
const Verbosity verbosity 
)

Writes LineMixingRecord to XML output stream.

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

Definition at line 848 of file xml_io_compound_types.cc.

References ArtsXMLTag::add_attribute(), LineMixingRecord::Data(), LineMixingRecord::Isotopologue(), LineMixingRecord::Quantum(), ArtsXMLTag::set_name(), LineMixingRecord::Species(), global_data::species_data, species_name_from_species_index(), ArtsXMLTag::write_to_stream(), and xml_write_to_stream().

◆ xml_write_to_stream() [16/25]

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

◆ xml_write_to_stream() [17/25]

void xml_write_to_stream ( ostream &  os_xml,
const QuantumNumberRecord qnr,
bofstream pbofs,
const String name,
const Verbosity verbosity 
)

Writes QuantumNumberRecord to XML output stream.

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

Definition at line 1039 of file xml_io_compound_types.cc.

References ArtsXMLTag::add_attribute(), QuantumNumberRecord::Lower(), ArtsXMLTag::set_name(), QuantumNumberRecord::Upper(), ArtsXMLTag::write_to_stream(), and xml_write_to_stream().

◆ xml_write_to_stream() [18/25]

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 1121 of file xml_io_compound_types.cc.

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

◆ xml_write_to_stream() [19/25]

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.

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

Definition at line 1187 of file xml_io_compound_types.cc.

References ArtsXMLTag::add_attribute(), RetrievalQuantity::Analytical(), RetrievalQuantity::Grids(), RetrievalQuantity::MainTag(), RetrievalQuantity::Mode(), RetrievalQuantity::Perturbation(), ArtsXMLTag::set_name(), RetrievalQuantity::Subtag(), ArtsXMLTag::write_to_stream(), and xml_write_to_stream().

◆ xml_write_to_stream() [20/25]

◆ xml_write_to_stream() [21/25]

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

◆ xml_write_to_stream() [22/25]

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

◆ xml_write_to_stream() [23/25]

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.

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

Definition at line 1525 of file xml_io_compound_types.cc.

References ArtsXMLTag::add_attribute(), SpeciesAuxData::getParams(), Array< base >::nelem(), ArtsXMLTag::set_name(), global_data::species_data, ArtsXMLTag::write_to_stream(), and xml_set_stream_precision().

◆ xml_write_to_stream() [24/25]

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 1614 of file xml_io_compound_types.cc.

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

◆ xml_write_to_stream() [25/25]

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 1705 of file xml_io_compound_types.cc.

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