ARTS
2.2.66
|
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 &) |
This file contains basic functions to handle XML data files.
Definition in file xml_io_compound_types.cc.
Definition at line 1733 of file xml_io_compound_types.cc.
Definition at line 1752 of file xml_io_compound_types.cc.
Definition at line 1771 of file xml_io_compound_types.cc.
void xml_read_from_stream | ( | istream & | is_xml, |
CIARecord & | cr, | ||
bifstream * | pbifs, | ||
const Verbosity & | verbosity | ||
) |
Reads CIARecord from XML input stream.
is_xml | XML Input stream |
irecord | SpeciesRecord return value |
pbifs | Pointer 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().
void xml_read_from_stream | ( | istream & | is_xml, |
GasAbsLookup & | gal, | ||
bifstream * | pbifs, | ||
const Verbosity & | verbosity | ||
) |
Reads GasAbsLookup from XML input stream.
is_xml | XML Input stream |
gal | GasAbsLookup return value |
pbifs | Pointer 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.
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.
is_xml | XML Input stream |
gfield | GriddedField return value |
pbifs | Pointer 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().
void xml_read_from_stream | ( | istream & | is_xml, |
GriddedField1 & | gfield, | ||
bifstream * | pbifs, | ||
const Verbosity & | verbosity | ||
) |
Reads GriddedField1 from XML input stream.
is_xml | XML Input stream |
gfield | GriddedField1 return value |
pbifs | Pointer 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().
void xml_read_from_stream | ( | istream & | is_xml, |
GriddedField2 & | gfield, | ||
bifstream * | pbifs, | ||
const Verbosity & | verbosity | ||
) |
Reads GriddedField2 from XML input stream.
is_xml | XML Input stream |
gfield | GriddedField2 return value |
pbifs | Pointer 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().
void xml_read_from_stream | ( | istream & | is_xml, |
GriddedField3 & | gfield, | ||
bifstream * | pbifs, | ||
const Verbosity & | verbosity | ||
) |
Reads GriddedField3 from XML input stream.
is_xml | XML Input stream |
gfield | GriddedField3 return value |
pbifs | Pointer 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().
void xml_read_from_stream | ( | istream & | is_xml, |
GriddedField4 & | gfield, | ||
bifstream * | pbifs, | ||
const Verbosity & | verbosity | ||
) |
Reads GriddedField4 from XML input stream.
is_xml | XML Input stream |
gfield | GriddedField4 return value |
pbifs | Pointer 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().
void xml_read_from_stream | ( | istream & | is_xml, |
GriddedField5 & | gfield, | ||
bifstream * | pbifs, | ||
const Verbosity & | verbosity | ||
) |
Reads GriddedField5 from XML input stream.
is_xml | XML Input stream |
gfield | GriddedField5 return value |
pbifs | Pointer 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().
void xml_read_from_stream | ( | istream & | is_xml, |
GriddedField6 & | gfield, | ||
bifstream * | pbifs, | ||
const Verbosity & | verbosity | ||
) |
Reads GriddedField6 from XML input stream.
is_xml | XML Input stream |
gfield | GriddedField6 return value |
pbifs | Pointer 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().
void xml_read_from_stream | ( | istream & | is_xml, |
GridPos & | gpos, | ||
bifstream * | pbifs, | ||
const Verbosity & | verbosity | ||
) |
Reads GridPos from XML input stream.
is_xml | XML Input stream |
gpos | GridPos return value |
pbifs | Pointer 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().
void xml_read_from_stream | ( | istream & | is_xml, |
IsotopologueRecord & | irecord, | ||
bifstream * | pbifs, | ||
const Verbosity & | verbosity | ||
) |
Reads IsotopologueRecord from XML input stream.
is_xml | XML Input stream |
irecord | SpeciesRecord return value |
pbifs | Pointer 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().
void xml_read_from_stream | ( | istream & | is_xml, |
LineMixingRecord & | lmr, | ||
bifstream * | pbifs, | ||
const Verbosity & | verbosity | ||
) |
Reads LineMixingRecord from XML input stream.
is_xml | XML Input stream |
lmr | LineMixingRecord return value |
pbifs | Pointer 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().
void xml_read_from_stream | ( | istream & | is_xml, |
Ppath & | ppath, | ||
bifstream * | pbifs, | ||
const Verbosity & | verbosity | ||
) |
Reads Ppath from XML input stream.
is_xml | XML Input stream |
ppath | Ppath return value |
pbifs | Pointer to binary input stream. NULL in case of ASCII file. |
Definition at line 885 of file xml_io_compound_types.cc.
References Ppath::background, ArtsXMLTag::check_name(), Ppath::constant, Ppath::dim, Ppath::end_los, Ppath::end_lstep, Ppath::end_pos, Ppath::gp_lat, Ppath::gp_lon, Ppath::gp_p, Ppath::los, Ppath::lstep, Ppath::ngroup, Ppath::np, Ppath::nreal, Ppath::pos, Ppath::r, ArtsXMLTag::read_from_stream(), Ppath::start_los, Ppath::start_lstep, Ppath::start_pos, and xml_read_from_stream().
void xml_read_from_stream | ( | istream & | is_xml, |
QuantumNumberRecord & | qnr, | ||
bifstream * | pbifs, | ||
const Verbosity & | verbosity | ||
) |
Reads QuantumNumberRecord from XML input stream.
is_xml | XML Input stream |
qnr | QuantumNumberRecord return value |
pbifs | Pointer 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().
void xml_read_from_stream | ( | istream & | is_xml, |
QuantumNumbers & | qn, | ||
bifstream * | pbifs, | ||
const Verbosity & | verbosity | ||
) |
Reads QuantumNumbers from XML input stream.
is_xml | XML Input stream |
qn | QuantumNumbers return value |
pbifs | Pointer 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().
void xml_read_from_stream | ( | istream & | is_xml, |
RetrievalQuantity & | rq, | ||
bifstream * | pbifs, | ||
const Verbosity & | verbosity | ||
) |
Reads RetrievalQuantity from XML input stream.
is_xml | XML Input stream |
rq | RetrievalQuantity return value |
pbifs | Pointer 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().
void xml_read_from_stream | ( | istream & | is_xml, |
ScatteringMetaData & | smdata, | ||
bifstream * | pbifs, | ||
const Verbosity & | verbosity | ||
) |
Reads ScatteringMetaData from XML input stream.
is_xml | XML Input stream |
smdata | ScatteringMetaData return value |
pbifs | Pointer to binary input stream. NULL in case of ASCII file. |
Definition at line 1322 of file xml_io_compound_types.cc.
References ScatteringMetaData::area_projected, ScatteringMetaData::aspect_ratio, ArtsXMLTag::check_name(), ScatteringMetaData::complex_refr_index, ScatteringMetaData::density, ScatteringMetaData::description, ScatteringMetaData::diameter_max, ArtsXMLTag::get_attribute_value(), ScatteringMetaData::material, ScatteringMetaData::particle_type, ParticleTypeFromString(), ArtsXMLTag::read_from_stream(), ScatteringMetaData::scat_f_grid, ScatteringMetaData::scat_T_grid, ScatteringMetaData::shape, ScatteringMetaData::volume, and xml_read_from_stream().
void xml_read_from_stream | ( | istream & | is_xml, |
SingleScatteringData & | ssdata, | ||
bifstream * | pbifs, | ||
const Verbosity & | verbosity | ||
) |
Reads SingleScatteringData from XML input stream.
is_xml | XML Input stream |
ssdata | SingleScatteringData return value |
pbifs | Pointer to binary input stream. NULL in case of ASCII file. |
Definition at line 1221 of file xml_io_compound_types.cc.
References SingleScatteringData::aa_grid, SingleScatteringData::abs_vec_data, ArtsXMLTag::check_name(), SingleScatteringData::description, SingleScatteringData::ext_mat_data, SingleScatteringData::f_grid, ArtsXMLTag::get_attribute_value(), ConstVectorView::nelem(), ConstTensor7View::nlibraries(), SingleScatteringData::particle_type, ParticleTypeFromString(), SingleScatteringData::pha_mat_data, ArtsXMLTag::read_from_stream(), SingleScatteringData::T_grid, xml_read_from_stream(), and SingleScatteringData::za_grid.
void xml_read_from_stream | ( | istream & | is_xml, |
SLIData2 & | slidata, | ||
bifstream * | pbifs, | ||
const Verbosity & | verbosity | ||
) |
Reads SLIData2 from XML input stream.
is_xml | XML Input stream |
slidata | SLIData return value |
pbifs | Pointer 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.
void xml_read_from_stream | ( | istream & | is_xml, |
SpeciesAuxData & | sad, | ||
bifstream * | pbifs, | ||
const Verbosity & | verbosity | ||
) |
Reads SpeciesAuxData from XML input stream.
is_xml | XML Input stream |
sap | SpeciesAuxData return value |
pbifs | Pointer 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().
void xml_read_from_stream | ( | istream & | is_xml, |
SpeciesRecord & | srecord, | ||
bifstream * | pbifs, | ||
const Verbosity & | verbosity | ||
) |
Reads SpeciesRecord from XML input stream.
is_xml | XML Input stream |
srecord | SpeciesRecord return value |
pbifs | Pointer 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().
void xml_read_from_stream | ( | istream & | is_xml, |
SpeciesTag & | stag, | ||
bifstream * | , | ||
const Verbosity & | verbosity | ||
) |
Reads SpeciesTag from XML input stream.
is_xml | XML Input stream |
stag | SpeciesTag 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().
void xml_write_to_stream | ( | ostream & | , |
const Agenda & | , | ||
bofstream * | , | ||
const String & | , | ||
const Verbosity & | |||
) |
Definition at line 1741 of file xml_io_compound_types.cc.
void xml_write_to_stream | ( | ostream & | , |
const MCAntenna & | , | ||
bofstream * | , | ||
const String & | , | ||
const Verbosity & | |||
) |
Definition at line 1760 of file xml_io_compound_types.cc.
void xml_write_to_stream | ( | ostream & | , |
const Verbosity & | , | ||
bofstream * | , | ||
const String & | , | ||
const Verbosity & | |||
) |
Definition at line 1779 of file xml_io_compound_types.cc.
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.
os_xml | XML Output stream |
irecord | CIARecord |
pbofs | Pointer to binary file stream. NULL for ASCII output. |
name | Optional 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().
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.
os_xml | XML Output stream |
gal | GasAbsLookup |
pbofs | Pointer to binary file stream. NULL for ASCII output. |
name | Optional name attribute |
Definition at line 169 of file xml_io_compound_types.cc.
References ArtsXMLTag::add_attribute(), GasAbsLookup::f_grid, GasAbsLookup::nls_pert, GasAbsLookup::nonlinear_species, GasAbsLookup::p_grid, ArtsXMLTag::set_name(), GasAbsLookup::species, GasAbsLookup::t_pert, GasAbsLookup::t_ref, GasAbsLookup::vmrs_ref, ArtsXMLTag::write_to_stream(), xml_write_to_stream(), and GasAbsLookup::xsec.
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.
os_xml | XML output stream |
gfield | GriddedField with the grids |
pbofs | Pointer 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().
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.
os_xml | XML Output stream |
gfield | GriddedField1 |
pbofs | Pointer to binary file stream. NULL for ASCII output. |
name | Optional 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().
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.
os_xml | XML Output stream |
gfield | GriddedField2 |
pbofs | Pointer to binary file stream. NULL for ASCII output. |
name | Optional 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().
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.
os_xml | XML Output stream |
gfield | GriddedField3 |
pbofs | Pointer to binary file stream. NULL for ASCII output. |
name | Optional 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().
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.
os_xml | XML Output stream |
gfield | GriddedField4 |
pbofs | Pointer to binary file stream. NULL for ASCII output. |
name | Optional 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().
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.
os_xml | XML Output stream |
gfield | GriddedField5 |
pbofs | Pointer to binary file stream. NULL for ASCII output. |
name | Optional 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().
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.
os_xml | XML Output stream |
gfield | GriddedField6 |
pbofs | Pointer to binary file stream. NULL for ASCII output. |
name | Optional 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().
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.
os_xml | XML Output stream |
gpos | GridPos |
pbofs | Pointer to binary file stream. NULL for ASCII output. |
name | Optional 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().
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.
os_xml | XML Output stream |
irecord | IsotopologueRecord |
pbofs | Pointer to binary file stream. NULL for ASCII output. |
name | Optional 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().
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.
os_xml | XML Output stream |
lmr | LineMixingRecord |
pbofs | Pointer to binary file stream. NULL for ASCII output. |
name | Optional 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().
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.
os_xml | XML Output stream |
ppath | Ppath |
pbofs | Pointer to binary file stream. NULL for ASCII output. |
name | Optional name attribute |
Definition at line 926 of file xml_io_compound_types.cc.
References ArtsXMLTag::add_attribute(), Ppath::background, Ppath::constant, Ppath::dim, Ppath::end_los, Ppath::end_lstep, Ppath::end_pos, Ppath::gp_lat, Ppath::gp_lon, Ppath::gp_p, Ppath::los, Ppath::lstep, Ppath::ngroup, Ppath::np, Ppath::nreal, Ppath::pos, Ppath::r, ArtsXMLTag::set_name(), Ppath::start_los, Ppath::start_lstep, Ppath::start_pos, ArtsXMLTag::write_to_stream(), and xml_write_to_stream().
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.
os_xml | XML Output stream |
qnr | QuantumNumberRecord |
pbofs | Pointer to binary file stream. NULL for ASCII output. |
name | Optional 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().
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.
os_xml | XML Output stream |
qn | QuantumNumbers |
pbofs | Pointer to binary file stream. NULL for ASCII output. |
name | Optional 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().
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.
os_xml | XML Output stream |
rq | RetrievalQuantity |
pbofs | Pointer to binary file stream. NULL for ASCII output. |
name | Optional 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().
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.
os_xml | XML Output stream |
smdata | ScatteringMetaData |
pbofs | Pointer to binary file stream. NULL for ASCII output. |
name | Optional name attribute |
Definition at line 1364 of file xml_io_compound_types.cc.
References ArtsXMLTag::add_attribute(), ScatteringMetaData::area_projected, ScatteringMetaData::aspect_ratio, ScatteringMetaData::complex_refr_index, ScatteringMetaData::density, ScatteringMetaData::description, ScatteringMetaData::diameter_max, ScatteringMetaData::material, ScatteringMetaData::particle_type, ParticleTypeToString(), ScatteringMetaData::scat_f_grid, ScatteringMetaData::scat_T_grid, ArtsXMLTag::set_name(), ScatteringMetaData::shape, ScatteringMetaData::volume, ArtsXMLTag::write_to_stream(), and xml_write_to_stream().
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.
os_xml | XML Output stream |
ssdata | SingleScatteringData |
pbofs | Pointer to binary file stream. NULL for ASCII output. |
name | Optional name attribute |
Definition at line 1283 of file xml_io_compound_types.cc.
References SingleScatteringData::aa_grid, SingleScatteringData::abs_vec_data, ArtsXMLTag::add_attribute(), SingleScatteringData::description, SingleScatteringData::ext_mat_data, SingleScatteringData::f_grid, SingleScatteringData::particle_type, ParticleTypeToString(), SingleScatteringData::pha_mat_data, ArtsXMLTag::set_name(), SingleScatteringData::T_grid, ArtsXMLTag::write_to_stream(), xml_write_to_stream(), and SingleScatteringData::za_grid.
void xml_write_to_stream | ( | ostream & | os_xml, |
const SLIData2 & | slidata, | ||
bofstream * | pbofs, | ||
const String & | name, | ||
const Verbosity & | verbosity | ||
) |
Definition at line 1425 of file xml_io_compound_types.cc.
References ArtsXMLTag::add_attribute(), ArtsXMLTag::set_name(), ArtsXMLTag::write_to_stream(), SLIData2::x1a, SLIData2::x2a, xml_write_to_stream(), and SLIData2::ya.
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.
os_xml | XML Output stream |
sap | SpeciesAuxData |
pbofs | Pointer to binary file stream. NULL for ASCII output. |
name | Optional 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().
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.
os_xml | XML Output stream |
srecord | SpeciesRecord |
pbofs | Pointer to binary file stream. NULL for ASCII output. |
name | Optional 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().
void xml_write_to_stream | ( | ostream & | os_xml, |
const SpeciesTag & | stag, | ||
bofstream * | , | ||
const String & | name, | ||
const Verbosity & | verbosity | ||
) |
Writes SpeciesTag to XML output stream.
os_xml | XML Output stream |
stag | SpeciesTag |
name | Optional 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().