casacore
Loading...
Searching...
No Matches
lattices
LEL
LELUnaryEnums.h
Go to the documentation of this file.
1
// # LELUnaryEnums.h: Enums of unary operators
2
// # Copyright (C) 1997
3
// # Associated Universities, Inc. Washington DC, USA.
4
// #
5
// # This library is free software; you can redistribute it and/or modify it
6
// # under the terms of the GNU Library General Public License as published by
7
// # the Free Software Foundation; either version 2 of the License, or (at your
8
// # option) any later version.
9
// #
10
// # This library is distributed in the hope that it will be useful, but WITHOUT//# ANY WARRANTY;
11
// without even the implied warranty of MERCHANTABILITY or # FITNESS FOR A PARTICULAR PURPOSE. See
12
// the GNU Library General Public # License for more details.
13
// #
14
// # You should have received a copy of the GNU Library General Public License
15
// # along with this library; if not, write to the Free Software Foundation,
16
// # Inc., 675 Massachusetts Ave, Cambridge, MA 02139, USA.
17
// #
18
// # Correspondence concerning AIPS++ should be addressed as follows:
19
// # Internet email: casa-feedback@nrao.edu.
20
// # Postal address: AIPS++ Project Office
21
// # National Radio Astronomy Observatory
22
// # 520 Edgemont Road
23
// # Charlottesville, VA 22903-2475 USA
24
25
#ifndef LATTICES_LELUNARYENUMS_H
26
#define LATTICES_LELUNARYENUMS_H
27
28
#include <casacore/casa/aips.h>
29
30
namespace
casacore
{
// # NAMESPACE CASACORE - BEGIN
31
32
// <summary> Each LEL unary operation is described in this enum </summary>
33
//
34
// <use visibility=local>
35
//
36
// <reviewed reviewer="" date="yyyy/mm/dd" tests="" demos="">
37
// </reviewed>
38
//
39
// <prerequisite>
40
// <li> <linkto class="Lattice"> Lattice</linkto>
41
// <li> <linkto class="LatticeExpr"> LatticeExpr</linkto>
42
// <li> <linkto class="LatticeExprNode"> LatticeExprNode</linkto>
43
// <li> <linkto class="LELInterface"> LELInterface</linkto>
44
// <li> <linkto class="LELUnary"> LELUnary</linkto>
45
// </prerequisite>
46
//
47
// <etymology>
48
// This enum provides a value for each unary operation accepted
49
// by the Lattice Expression Language classes.
50
// </etymology>
51
//
52
// <synopsis>
53
// Each unary operator accepted by the bridging class LatticeExprNode
54
// and passed on to the LELUnary letter classes is labelled internally
55
// with a value from this enum.
56
// </synopsis>
57
//
58
// <todo asof="1998/01/21">
59
// </todo>
60
61
class
LELUnaryEnums
{
62
public
:
63
enum
Operation
{
64
65
// Unary plus
66
PLUS
,
67
68
// Unary minus
69
MINUS
,
70
71
// Unary not
72
NOT
,
73
74
// Total number
75
NOPS
76
77
};
78
};
79
80
}
// namespace casacore
81
82
#endif
casacore::LELUnaryEnums
Definition
LELUnaryEnums.h:61
casacore::LELUnaryEnums::Operation
Operation
Definition
LELUnaryEnums.h:63
casacore::LELUnaryEnums::NOPS
@ NOPS
Total number.
Definition
LELUnaryEnums.h:75
casacore::LELUnaryEnums::MINUS
@ MINUS
Unary minus.
Definition
LELUnaryEnums.h:69
casacore::LELUnaryEnums::PLUS
@ PLUS
Unary plus.
Definition
LELUnaryEnums.h:66
casacore::LELUnaryEnums::NOT
@ NOT
Unary not.
Definition
LELUnaryEnums.h:72
casacore
For temporary backward namespace compatibility, use casa as alias for casacore.
Definition
mainpage.dox:28
Generated by
1.15.0