ARTS  2.3.1285(git:92a29ea9-dirty)
xml_io_types.h File Reference

This file contains private function declarations and template instantiation to handle XML data files. More...

#include <cfloat>
#include <stdexcept>
#include "absorption.h"
#include "agenda_class.h"
#include "array.h"
#include "artstime.h"
#include "bifstream.h"
#include "bofstream.h"
#include "cia.h"
#include "covariance_matrix.h"
#include "gas_abs_lookup.h"
#include "gridded_fields.h"
#include "hitran_xsec.h"
#include "jacobian.h"
#include "linemixing_hitran.h"
#include "m_general.h"
#include "matpackII.h"
#include "matpackVII.h"
#include "mc_antenna.h"
#include "mc_interp.h"
#include "messages.h"
#include "optproperties.h"
#include "ppath.h"
#include "propagationmatrix.h"
#include "telsem.h"
#include "tessem.h"
#include "transmissionmatrix.h"
#include "xml_io_private.h"
#include "absorptionlines.h"

Go to the source code of this file.

Macros

#define TMPL_XML_READ_WRITE_STREAM(what)
 

Functions

void xml_parse_from_stream (istream &, Vector &, bifstream *, ArtsXMLTag &, const Verbosity &verbosity)
 Parses Vector from XML input stream. More...
 
void xml_parse_from_stream (istream &, ArrayOfString &, bifstream *, ArtsXMLTag &, const Verbosity &)
 Parse ArrayOfString from XML input stream. More...
 

Detailed Description

This file contains private function declarations and template instantiation 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_types.h.

Macro Definition Documentation

◆ TMPL_XML_READ_WRITE_STREAM

#define TMPL_XML_READ_WRITE_STREAM (   what)
Value:
istream &, what &, bifstream *, const Verbosity &); \
void xml_write_to_stream(ostream &, \
const what &, \
bofstream *, \
const String &, \
const Verbosity &);
void xml_write_to_stream(ostream &os_xml, const ArrayOfAgenda &aa, bofstream *pbofs, const String &name, const Verbosity &)
Writes ArrayOfAgenda to XML output stream.
Binary output file stream class.
Definition: bifstream.h:42
void xml_read_from_stream(istream &is_xml, ArrayOfAgenda &aa, bifstream *pbifs, const Verbosity &)
Reads ArrayOfAgenda from XML input stream.
Binary output file stream class.
Definition: bofstream.h:42

Definition at line 64 of file xml_io_types.h.

Function Documentation

◆ xml_parse_from_stream() [1/2]

void xml_parse_from_stream ( istream &  is_xml,
Vector vector,
bifstream pbifs,
ArtsXMLTag tag,
const Verbosity  
)

Parses Vector from XML input stream.

Parameters
is_xmlXML Input stream
vectorVector return value
pbifsPointer to binary input stream. NULL in case of ASCII file.
tagXML tag object

Definition at line 1204 of file xml_io_basic_types.cc.

References ArtsXMLTag::get_attribute_value(), n, Absorption::nelem(), Vector::resize(), _CS_basic_sstream_base< _CS_cT, _CS_Tr, _CS_Al >::str(), and xml_data_parse_error().

Referenced by xml_read_from_stream().

◆ xml_parse_from_stream() [2/2]

void xml_parse_from_stream ( istream &  is_xml,
ArrayOfString astring,
bifstream pbifs,
ArtsXMLTag tag,
const Verbosity verbosity 
)

Parse ArrayOfString from XML input stream.

Parameters
is_xmlXML Input stream
astringArrayOfString return value
pbifsPointer to binary input stream. NULL in case of ASCII file.
tagXML tag object

Definition at line 2790 of file xml_io_array_types.cc.

References ArtsXMLTag::check_attribute(), ArtsXMLTag::get_attribute_value(), n, Absorption::nelem(), and xml_read_from_stream().

Referenced by xml_read_from_stream().