casa  5.7.0-16
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
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; without even the implied warranty of MERCHANTABILITY or
11 //# FITNESS FOR A PARTICULAR PURPOSE. See the GNU Library General Public
12 //# 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: aips2-request@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 //# $Id$
26 
27 #ifndef LATTICES_LELUNARYENUMS_H
28 #define LATTICES_LELUNARYENUMS_H
29 
30 #include <casacore/casa/aips.h>
31 
32 namespace casacore { //# NAMESPACE CASACORE - BEGIN
33 
34 // <summary> Each LEL unary operation is described in this enum </summary>
35 //
36 // <use visibility=local>
37 //
38 // <reviewed reviewer="" date="yyyy/mm/dd" tests="" demos="">
39 // </reviewed>
40 //
41 // <prerequisite>
42 // <li> <linkto class="Lattice"> Lattice</linkto>
43 // <li> <linkto class="LatticeExpr"> LatticeExpr</linkto>
44 // <li> <linkto class="LatticeExprNode"> LatticeExprNode</linkto>
45 // <li> <linkto class="LELInterface"> LELInterface</linkto>
46 // <li> <linkto class="LELUnary"> LELUnary</linkto>
47 // </prerequisite>
48 //
49 // <etymology>
50 // This enum provides a value for each unary operation accepted
51 // by the Lattice Expression Language classes.
52 // </etymology>
53 //
54 // <synopsis>
55 // Each unary operator accepted by the bridging class LatticeExprNode
56 // and passed on to the LELUnary letter classes is labelled internally
57 // with a value from this enum.
58 // </synopsis>
59 //
60 // <todo asof="1998/01/21">
61 // </todo>
62 
63 
65 {
66 public:
67  enum Operation{
68 
69 // Unary plus
70  PLUS,
71 
72 // Unary minus
74 
75 // Unary not
76  NOT,
77 
78 // Total number
80 
81 };
82 
83 };
84 
85 
86 } //# NAMESPACE CASACORE - END
87 
88 #endif
Each LEL unary operation is described in this enum.
Definition: LELUnaryEnums.h:64
#define casacore
&lt;X11/Intrinsic.h&gt; #defines true, false, casacore::Bool, and String.
Definition: X11Intrinsic.h:42