ARTS
2.2.66
Main Page
Namespaces
Namespace List
Namespace Members
All
Variables
Classes
Class List
Class Hierarchy
Class Members
All
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
q
r
s
t
u
v
w
~
Variables
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
Enumerations
Enumerator
a
b
d
e
f
l
n
p
s
t
u
Related Functions
a
c
i
m
n
o
p
s
t
v
x
Files
File List
File Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
_
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
r
s
t
u
v
w
x
y
z
Variables
a
b
c
d
e
f
g
h
j
k
l
n
o
p
r
s
t
v
w
Typedefs
a
c
d
e
f
g
h
i
j
k
l
m
n
p
r
s
u
v
z
Enumerations
Enumerator
a
e
f
g
i
l
m
n
p
q
s
u
v
Macros
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
z
m_delete.h
Go to the documentation of this file.
1
/* Copyright (C) 2002-2012 Stefan Buehler <sbuehler@ltu.se>
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
29
#ifndef m_delete_h
30
#define m_delete_h
31
32
#include <map>
33
34
#include "
mystring.h
"
35
#include "
workspace_ng.h
"
36
37
/* Workspace method: Doxygen documentation will be auto-generated */
38
template
<
typename
T>
void
39
Delete
(
// Workspace reference
40
Workspace
& ws,
41
// WS Generic Input:
42
const
T& x
_U_
,
43
// WS Generic Input Names:
44
const
String
& x_name,
45
const
Verbosity
&)
46
{
47
ws.
del
(ws.
WsvMap
.find (x_name)->second);
48
}
49
50
51
#endif // m_ignore_h
_U_
#define _U_
Definition:
config.h:167
my_basic_string
The implementation for String, the ARTS string class.
Definition:
mystring.h:64
Verbosity
Definition:
messages.h:50
Workspace::del
void del(Index i)
Delete WSV.
Definition:
workspace_ng.cc:76
Delete
void Delete(Workspace &ws, const T &x, const String &x_name, const Verbosity &)
WORKSPACE METHOD: Delete.
Definition:
m_delete.h:39
workspace_ng.h
This file contains the declaration and partly the implementation of the workspace class.
Workspace::WsvMap
static map< String, Index > WsvMap
Definition:
workspace_ng.h:67
Workspace
Workspace class.
Definition:
workspace_ng.h:47
mystring.h
This file contains the definition of String, the ARTS string class.
src
m_delete.h
Generated on Thu Oct 8 2020 12:59:30 for ARTS by
1.8.20