ARTS
2.2.66
nc_io_instantiation.h
Go to the documentation of this file.
1
/* Copyright (C) 2003-2012 Oliver Lemke <olemke@core-dump.info>
2
3
This program is free software; you can redistribute it and/or modify it
4
under the terms of the GNU General Public License as published by the
5
Free Software Foundation; either version 2, or (at your option) any
6
later version.
7
8
This program is distributed in the hope that it will be useful,
9
but WITHOUT ANY WARRANTY; without even the implied warranty of
10
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11
GNU General Public License for more details.
12
13
You should have received a copy of the GNU General Public License
14
along with this program; if not, write to the Free Software
15
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,
16
USA. */
17
18
20
// File description
22
32
#ifndef nc_io_instantiation_h
33
#define nc_io_instantiation_h
34
35
#include <stdexcept>
36
#include <cfloat>
37
#include "
nc_io.h
"
38
#include "
nc_io_types.h
"
39
40
#define TMPL_NC_READ_WRITE_FILE(what) \
41
template void nca_write_to_file<what>(const String&, const what&, const Verbosity&); \
42
template void nca_read_from_file<what>(const String&, what&, const Verbosity&);
43
44
46
// Overloaded reading/writing routines for NetCDF streams
48
49
//=== Basic Types ==========================================================
50
51
TMPL_NC_READ_WRITE_FILE
(
Matrix
)
52
TMPL_NC_READ_WRITE_FILE
(
Tensor3
)
53
TMPL_NC_READ_WRITE_FILE
(
Tensor4
)
54
TMPL_NC_READ_WRITE_FILE
(
Tensor5
)
55
TMPL_NC_READ_WRITE_FILE
(
Vector
)
56
57
//=== Compound Types =======================================================
58
59
TMPL_NC_READ_WRITE_FILE
(
Agenda
)
60
TMPL_NC_READ_WRITE_FILE
(
GasAbsLookup
)
61
62
//=== Array Types ==========================================================
63
64
TMPL_NC_READ_WRITE_FILE
(
ArrayOfMatrix
)
65
TMPL_NC_READ_WRITE_FILE
(
ArrayOfVector
)
66
67
//==========================================================================
68
69
// Undefine the macro to avoid it being used anywhere else
70
#undef TMPL_NC_READ_WRITE_FILE
71
72
/*void
73
xml_parse_from_stream (istream&, Vector&, bifstream *, ArtsXMLTag&, const Verbosity&);
74
75
void
76
xml_read_from_stream (istream&, ArrayOfLineRecord&,
77
const Numeric, const Numeric, bifstream * = NULL,
78
const Verbosity&);
79
80
void
81
xml_parse_from_stream (istream&, ArrayOfString&, bifstream *, ArtsXMLTag&, const Verbosity&);*/
82
83
#endif
/* nc_io_instantiation_h */
Matrix
The Matrix class.
Definition:
matpackI.h:788
Tensor3
The Tensor3 class.
Definition:
matpackIII.h:348
nc_io.h
This file contains basic functions to handle NetCDF data files.
Tensor4
The Tensor4 class.
Definition:
matpackIV.h:383
nc_io_types.h
This file contains private function declarations and template instantiation to handle NetCDF data fil...
Agenda
The Agenda class.
Definition:
agenda_class.h:44
GasAbsLookup
An absorption lookup table.
Definition:
gas_abs_lookup.h:46
Array< Matrix >
TMPL_NC_READ_WRITE_FILE
#define TMPL_NC_READ_WRITE_FILE(what)
Definition:
nc_io_instantiation.h:40
Tensor5
The Tensor5 class.
Definition:
matpackV.h:451
Vector
The Vector class.
Definition:
matpackI.h:556
src
nc_io_instantiation.h
Generated on Thu Oct 8 2020 12:59:31 for ARTS by
1.8.20