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$ 00026 00027 #ifndef LATTICES_LELUNARYENUMS_H 00028 #define LATTICES_LELUNARYENUMS_H 00029 00030 #include <casacore/casa/aips.h> 00031 00032 namespace casacore { //# NAMESPACE CASACORE - BEGIN 00033 00034 // <summary> Each LEL unary operation is described in this enum </summary> 00035 // 00036 // <use visibility=local> 00037 // 00038 // <reviewed reviewer="" date="yyyy/mm/dd" tests="" demos=""> 00039 // </reviewed> 00040 // 00041 // <prerequisite> 00042 // <li> <linkto class="Lattice"> Lattice</linkto> 00043 // <li> <linkto class="LatticeExpr"> LatticeExpr</linkto> 00044 // <li> <linkto class="LatticeExprNode"> LatticeExprNode</linkto> 00045 // <li> <linkto class="LELInterface"> LELInterface</linkto> 00046 // <li> <linkto class="LELUnary"> LELUnary</linkto> 00047 // </prerequisite> 00048 // 00049 // <etymology> 00050 // This enum provides a value for each unary operation accepted 00051 // by the Lattice Expression Language classes. 00052 // </etymology> 00053 // 00054 // <synopsis> 00055 // Each unary operator accepted by the bridging class LatticeExprNode 00056 // and passed on to the LELUnary letter classes is labelled internally 00057 // with a value from this enum. 00058 // </synopsis> 00059 // 00060 // <todo asof="1998/01/21"> 00061 // </todo> 00062 00063 00064 class LELUnaryEnums 00065 { 00066 public: 00067 enum Operation{ 00068 00069 // Unary plus 00070 PLUS, 00071 00072 // Unary minus 00073 MINUS, 00074 00075 // Unary not 00076 NOT, 00077 00078 // Total number 00079 NOPS 00080 00081 }; 00082 00083 }; 00084 00085 00086 } //# NAMESPACE CASACORE - END 00087 00088 #endif