casacore
Loading...
Searching...
No Matches
LELBinaryEnums.h
Go to the documentation of this file.
1// # LELBinaryEnums.h: Enums of binary arithmetic operation on arrays
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_LELBINARYENUMS_H
26#define LATTICES_LELBINARYENUMS_H
27
28#include <casacore/casa/aips.h>
29
30namespace casacore { // # NAMESPACE CASACORE - BEGIN
31
32// <summary> Each LEL binary 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="LELBinary"> LELBinary</linkto>
45// </prerequisite>
46//
47// <etymology>
48// This enum provides a value for each binary operation accepted
49// by the Lattice Expression Language classes.
50// </etymology>
51//
52// <synopsis>
53// Each binary operator accepted by the bridging class LatticeExprNode
54// and passed on to the LELBinary letter classes is labelled internally
55// with a value from this enum.
56// </synopsis>
57//
58//
59// <todo asof="1998/01/21">
60// </todo>
61
63 public:
64 enum Operation {
65
66 // Addition
68
69 // Subtraction
71
72 // Multiplication
74
75 // Division
77
78 // Logical and
80
81 // Logical or
83
84 // ==
86
87 // > (and reversed <)
89
90 // >= (and reversed <=)
92
93 // !=
95
96 // Total number
98
99 };
100};
101
102} // namespace casacore
103
104#endif
@ GE
>= (and reversed <=)
@ MULTIPLY
Multiplication.
For temporary backward namespace compatibility, use casa as alias for casacore.
Definition mainpage.dox:28