casa  $Rev:20696$
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
LELUnaryEnums.h
Go to the documentation of this file.
00001 //# LELUnaryEnums.h: Enums of unary operators
00002 //# Copyright (C) 1997
00003 //# Associated Universities, Inc. Washington DC, USA.
00004 //#
00005 //# This library is free software; you can redistribute it and/or modify it
00006 //# under the terms of the GNU Library General Public License as published by
00007 //# the Free Software Foundation; either version 2 of the License, or (at your
00008 //# option) any later version.
00009 //#
00010 //# This library is distributed in the hope that it will be useful, but WITHOUT//# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
00011 //# FITNESS FOR A PARTICULAR PURPOSE.  See the GNU Library General Public
00012 //# License for more details.
00013 //#
00014 //# You should have received a copy of the GNU Library General Public License
00015 //# along with this library; if not, write to the Free Software Foundation,
00016 //# Inc., 675 Massachusetts Ave, Cambridge, MA 02139, USA.
00017 //#
00018 //# Correspondence concerning AIPS++ should be addressed as follows:
00019 //#        Internet email: aips2-request@nrao.edu.
00020 //#        Postal address: AIPS++ Project Office
00021 //#                        National Radio Astronomy Observatory
00022 //#                        520 Edgemont Road
00023 //#                        Charlottesville, VA 22903-2475 USA
00024 //#
00025 //# $Id: LELUnaryEnums.h 18093 2004-11-30 17:51:10Z ddebonis $
00026 
00027 #ifndef LATTICES_LELUNARYENUMS_H
00028 #define LATTICES_LELUNARYENUMS_H
00029 
00030 namespace casa { //# NAMESPACE CASA - BEGIN
00031 
00032 // <summary> Each LEL unary operation is described in this enum  </summary>
00033 //
00034 // <use visibility=local>
00035 //
00036 // <reviewed reviewer="" date="yyyy/mm/dd" tests="" demos="">
00037 // </reviewed>
00038 //
00039 // <prerequisite>
00040 //   <li> <linkto class="Lattice"> Lattice</linkto>
00041 //   <li> <linkto class="LatticeExpr"> LatticeExpr</linkto>
00042 //   <li> <linkto class="LatticeExprNode"> LatticeExprNode</linkto>
00043 //   <li> <linkto class="LELInterface"> LELInterface</linkto>
00044 //   <li> <linkto class="LELUnary"> LELUnary</linkto>
00045 // </prerequisite>
00046 //
00047 // <etymology>
00048 //  This enum provides a value for each unary operation accepted
00049 //  by the Lattice Expression Language classes.
00050 // </etymology>
00051 //
00052 // <synopsis>
00053 //  Each unary operator accepted by the bridging class LatticeExprNode
00054 //  and passed  on to the LELUnary letter classes is labelled internally 
00055 //  with a value from this enum.  
00056 // </synopsis> 
00057 //
00058 // <todo asof="1998/01/21">
00059 // </todo>
00060 
00061 
00062 class LELUnaryEnums 
00063 {
00064 public:
00065    enum Operation{
00066 
00067 // Unary plus
00068    PLUS, 
00069 
00070 // Unary minus
00071    MINUS, 
00072 
00073 // Unary not
00074    NOT, 
00075 
00076 // Total number
00077    NOPS
00078 
00079 };
00080 
00081 };
00082 
00083 
00084 } //# NAMESPACE CASA - END
00085 
00086 #endif