|
ARTS
2.2.66
|
This file contains private function declarations and template instantiation to handle XML data files. More...
#include <stdexcept>#include <cfloat>#include "absorption.h"#include "agenda_class.h"#include "array.h"#include "bifstream.h"#include "bofstream.h"#include "cia.h"#include "gas_abs_lookup.h"#include "gridded_fields.h"#include "jacobian.h"#include "m_general.h"#include "mc_antenna.h"#include "mc_interp.h"#include "matpackII.h"#include "matpackVII.h"#include "messages.h"#include "optproperties.h"#include "ppath.h"#include "xml_io_private.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_read_from_stream (istream &, ArrayOfLineRecord &, const Numeric, const Numeric, bifstream *, const Verbosity &) |
| Reads ArrayOfLineRecord from XML input stream within specified frequency range. More... | |
| void | xml_parse_from_stream (istream &, ArrayOfString &, bifstream *, ArtsXMLTag &, const Verbosity &) |
| Parse ArrayOfString from XML input stream. More... | |
This file contains private function declarations and template instantiation to handle XML data files.
Definition in file xml_io_types.h.
| #define TMPL_XML_READ_WRITE_STREAM | ( | what | ) |
Definition at line 56 of file xml_io_types.h.
| void xml_parse_from_stream | ( | istream & | is_xml, |
| Vector & | vector, | ||
| bifstream * | pbifs, | ||
| ArtsXMLTag & | tag, | ||
| const Verbosity & | |||
| ) |
Parses Vector from XML input stream.
| is_xml | XML Input stream |
| vector | Vector return value |
| pbifs | Pointer to binary input stream. NULL in case of ASCII file. |
| tag | XML tag object |
Definition at line 1319 of file xml_io_basic_types.cc.
References ArtsXMLTag::get_attribute_value(), Vector::resize(), and xml_data_parse_error().
Referenced by xml_read_from_stream().
| void xml_parse_from_stream | ( | istream & | is_xml, |
| ArrayOfString & | astring, | ||
| bifstream * | pbifs, | ||
| ArtsXMLTag & | tag, | ||
| const Verbosity & | verbosity | ||
| ) |
Parse ArrayOfString from XML input stream.
| is_xml | XML Input stream |
| astring | ArrayOfString return value |
| pbifs | Pointer to binary input stream. NULL in case of ASCII file. |
| tag | XML tag object |
Definition at line 3066 of file xml_io_array_types.cc.
References ArtsXMLTag::check_attribute(), ArtsXMLTag::get_attribute_value(), and xml_read_from_stream().
Referenced by xml_read_from_stream().
| void xml_read_from_stream | ( | istream & | is_xml, |
| ArrayOfLineRecord & | alrecord, | ||
| const Numeric | fmin, | ||
| const Numeric | fmax, | ||
| bifstream * | pbifs, | ||
| const Verbosity & | verbosity | ||
| ) |
Reads ArrayOfLineRecord from XML input stream within specified frequency range.
| is_xml | XML Input stream |
| alrecord | ArrayOfLineRecord return value |
| fmin | Lowest frequency (NAN = no limit) |
| fmax | Highest frequency (NAN = no limit) |
| pbifs | Pointer to binary input stream. NULL in case of ASCII file. |
Definition at line 2466 of file xml_io_array_types.cc.
References ArtsXMLTag::check_name(), CREATE_OUT2, LineRecord::F(), ArtsXMLTag::get_attribute_value(), Array< base >::nelem(), ArtsXMLTag::read_from_stream(), LineRecord::ReadFromArtscat3Stream(), and LineRecord::ReadFromArtscat4Stream().